Example #1
0
 /// <summary>
 /// Creates an in-memory database.
 /// </summary>
 public TestDatabase(TestDatabaseStore store, DatabaseContext context)
 {
     _store = store;
     Context = context;
 }
Example #2
0
 /// <summary>
 /// Creates a builder for an in-memory database.
 /// </summary>
 public TestDatabaseBuilder()
 {
     _store        = new TestDatabaseStore();
     _buildContext = new DatabaseContext(_store.Options);
 }
 /// <summary>
 /// Creates a builder for an in-memory database.
 /// </summary>
 public TestDatabaseBuilder()
 {
     _store = new TestDatabaseStore();
     _buildContext = new DatabaseContext(_store.Options);
 }
Example #4
0
 /// <summary>
 /// Creates an in-memory database.
 /// </summary>
 public TestDatabase(TestDatabaseStore store, DatabaseContext context)
 {
     _store  = store;
     Context = context;
 }