private static void Main(string[] args) { using (var test = new RavenDb_2239()) { using (var store = new DocumentStore { Url = "http://localhost:8080",DefaultDatabase = "TestDB"}) //requestedStorage: "esent")) { store.Initialize(); store.DatabaseCommands.GlobalAdmin.EnsureDatabaseExists("TestDB"); Console.WriteLine("Press any key to begin test"); Console.ReadLine(); test.SetupData(store); } } }
private static void Main(string[] args) { using (var test = new RavenDb_2239()) { using (var store = new DocumentStore { Url = "http://localhost:8080", DefaultDatabase = "TestDB" }) //requestedStorage: "esent")) { store.Initialize(); store.DatabaseCommands.GlobalAdmin.EnsureDatabaseExists("TestDB"); Console.WriteLine("Press any key to begin test"); Console.ReadLine(); test.SetupData(store); } } }