Exemplo n.º 1
0
 public Database(DbConnectionStringBuilder connectionStringBuilder, IDatabaseFolderStructure databaseFolderStructure, IDatabaseRestoreOptions databaseRestoreOptions, Logger logger, bool warnOnOneTimeScriptChanges = false)
 {
     ConnectionString            = connectionStringBuilder.ToString();
     DatabaseFolderStructure     = databaseFolderStructure;
     this.databaseRestoreOptions = databaseRestoreOptions;
     this.logger = logger ?? new roundhouse.infrastructure.logging.custom.ConsoleLogger();
     WarnOnOneTimeScriptChanges = warnOnOneTimeScriptChanges;
     WithTransaction            = true;
 }
Exemplo n.º 2
0
 public Database(DbConnectionStringBuilder connectionStringBuilder, IDatabaseFolderStructure databaseFolderStructure, bool warnOnOneTimeScriptChanges = false)
     : this(connectionStringBuilder, databaseFolderStructure, null, null, warnOnOneTimeScriptChanges)
 {
 }