internal static void Initialize(DbConfig dbConfig) { _databaseSetup = new DatabaseSetup { ConnectionString = dbConfig.ConnectionString, DatabaseType = dbConfig.DatabaseType, SchemaName = dbConfig.SchemaName, AuditRecordType = dbConfig.AuditRecordType }; if (dbConfig.AuditRecordType != null && _isTaskComplete_CheckIfAuditTableExists == false) { CheckIfAuditTableExists(dbConfig.AuditRecordType, dbConfig.DatabaseType); _isTaskComplete_CheckIfAuditTableExists = true; } }
private static void InitializeDatabaseFactory() { var dbConfig = CreateDbConfig(); DatabaseSetup.Initialize(dbConfig); }
public static void Initialize(DbConfig dbConfig) { DatabaseSetup.Initialize(dbConfig); }