示例#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;
 }