示例#1
0
 public MsSqlDatabaseManager(SessionManager sessionManager, Configuration configuration)
 {
     _models         = MappingCompiler.CompileModels();
     _sessionManager = sessionManager;
     _configuration  = configuration;
 }
示例#2
0
 public MsSqlDatabaseManager(MsSqlConnectionString connectionString)
 {
     _models         = MappingCompiler.CompileModels();
     _configuration  = new MsSqlConfiguration(connectionString, _models);
     _sessionManager = new SessionManager(_configuration);
 }