public IMigrationRules MigrateUsing(IMigrationRulesBuilder rulesBuilder)
        {
            IMigrationRules newRules =
                new MigrationRules(new MigrationDefinition(definition, versionQualifier.StartVersion, logger),
                                   versionQualifier.StartVersion, logger);

            rulesBuilder.Build(newRules);
            return(rules);
        }
Ejemplo n.º 2
0
        public void AddRules(IMigrationRulesBuilder migrationRulesBuilder)
        {
            IMigrationRules migrationRules = new MigrationRules(this, fromVersion, logger);

            migrationRulesBuilder.Build(migrationRules);
        }