public MsSqlDatabaseManager(SessionManager sessionManager, Configuration configuration) { _models = MappingCompiler.CompileModels(); _sessionManager = sessionManager; _configuration = configuration; }
public MsSqlDatabaseManager(MsSqlConnectionString connectionString) { _models = MappingCompiler.CompileModels(); _configuration = new MsSqlConfiguration(connectionString, _models); _sessionManager = new SessionManager(_configuration); }