/// <summary>
 /// Initialize<br/>
 /// 初始化<br/>
 /// </summary>
 public InMemoryDatabaseContextFactory(
     string database, string connectionString,
     IEnumerable <IDatabaseInitializeHandler> handlers,
     IEnumerable <IEntityMappingProvider> providers)
 {
     Store = new InMemoryDatabaseStore(handlers, providers);
 }
Beispiel #2
0
 /// <summary>
 /// Initialize<br/>
 /// 初始化<br/>
 /// </summary>
 public InMemoryDatabaseContext(InMemoryDatabaseStore store)
 {
     Store = store;
 }
Beispiel #3
0
 /// <summary>
 /// Initialize<br/>
 /// 初始化<br/>
 /// </summary>
 public InMemoryDatabaseContext(InMemoryDatabaseStore store)
 {
     Store         = store;
     CommandLogger = Application.Ioc.Resolve <IDatabaseCommandLogger>(IfUnresolved.ReturnDefault);
 }
 /// <summary>
 /// Initialize
 /// </summary>
 /// <param name="database">Not using</param>
 /// <param name="connectionString">Not using</param>
 public InMemoryDatabaseContextFactory(string database, string connectionString)
 {
     Store = new InMemoryDatabaseStore();
 }