public SchemaChange(string pathToSchemaChangeFolder, DatabaseVersion version, DatabaseVersion previousVersion, SchemaManagerGlobalOptions options)
 {
     PathToSchemaChangeFolder = pathToSchemaChangeFolder;
     Version = version;
     PreviousVersion = previousVersion;
     Options = options;
 }
 public SchemaChange(string pathToSchemaChangeFolder, DatabaseVersion version, DatabaseVersion previousVersion, SchemaManagerGlobalOptions options)
 {
     PathToSchemaChangeFolder = pathToSchemaChangeFolder;
     Version         = version;
     PreviousVersion = previousVersion;
     Options         = options;
 }
 public SchemaManagerModule(Task owner, 
     string pathToSchemaScripts,
     string pathToAlwaysRunScripts,
     string connectionString,
     SchemaManagerGlobalOptions globalOptions)
 {
     _owner = owner;
     _pathToSchemaScripts = pathToSchemaScripts;
     _connectionString = connectionString;
     _pathToAlwaysRunScripts = pathToAlwaysRunScripts;
     _globalOptions = globalOptions;
 }
 public DatabaseReverter(IProvideAlwaysRunScripts alwaysRunScripts, 
     IProvideSchemaChanges schemaChangeProvider,
     ILogger logger,
     IDatabase database,
     SchemaManagerGlobalOptions globalOptions)
 {
     _alwaysRunScripts = alwaysRunScripts;
     _schemaChangeProvider = schemaChangeProvider;
     _logger = logger;
     _database = database;
     _globalOptions = globalOptions;
 }
 public SimpleScript(string script, SchemaManagerGlobalOptions options)
 {
     _script = script;
     Options = options;
 }
 public FileSystemAlwaysRunScriptsProvider(string pathToScripts, SchemaManagerGlobalOptions options)
 {
     _pathToScripts = pathToScripts;
     _options = options;
 }
 public SimpleScript(string script, SchemaManagerGlobalOptions options)
 {
     _script = script;
     Options = options;
 }
        protected virtual StandardKernel BuildKernel()
        {
            var options = new SchemaManagerGlobalOptions
                {
                    TargetRevision = _targetRevision,
                    Timeout = TimeSpan.FromMinutes(TimeoutMinutes),
                    UseIncrementalTransactions = UseIncrementalTransactions,
                    WhatIfEnabled = WhatIf
                };

            var module = new SchemaManagerModule(this,
                                                 PathToChangeScripts,
                                                 PathToAlwaysRunScripts,
                                                 ConnectionString,
                                                 options);
            return new StandardKernel(module);
        }
 public FileSystemSchemaChangeProvider(string pathToSchemaScripts, SchemaManagerGlobalOptions options)
 {
     _pathToSchemaScripts = pathToSchemaScripts;
     _options = options;
 }