Пример #1
0
 /// <summary>
 /// Creates an in-memory database.
 /// </summary>
 public TestDatabase(TestDatabaseStore store, DatabaseContext context)
 {
     _store = store;
     Context = context;
 }
Пример #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);
 }
Пример #4
0
 /// <summary>
 /// Creates an in-memory database.
 /// </summary>
 public TestDatabase(TestDatabaseStore store, DatabaseContext context)
 {
     _store  = store;
     Context = context;
 }