Beispiel #1
0
 public EntityManager(ISQLExecutor exe, IMappingSQLEmit emit)
 {
     exe.ThrowIfNullArgument(nameof(exe));
     emit.ThrowIfNullArgument(nameof(emit));
     _exe  = exe;
     _emit = emit;
 }
Beispiel #2
0
 public void SetUp()
 {
     if (!AppConfig.Loaded)
     {
         AppConfig.Load(ConfigFactory.CreateXmlConfig());
     }
     _emit = CoreFactory.CreateDialectProvider("dest").CreateMappingSQLEmit(CoreFactory.ObjectMapInfoCache);
 }
Beispiel #3
0
 public void SetUp()
 {
     if (!AppConfig.Loaded)
         AppConfig.Load(ConfigFactory.CreateXmlConfig());
     _emit = CoreFactory.CreateDialectProvider("std").CreateMappingSQLEmit(CoreFactory.ObjectMapInfoCache);
 }