Can I use a Context object to create more than one database?
For example: new CreateDB("db1","c:\db1").execute(this.Context); new CreateDB("db2","c:\db2").execute(this.Context);
Sure; the database you've created most recently will further be available as current "database context"; i.e., after having performed the two create commands, the following queries will yield the same result:
new XQuery("db:open('db2')").execute(this.Context); new XQuery("/").execute(this.Context);
Christian