public IMigrationRules MigrateUsing(IMigrationRulesBuilder rulesBuilder) { IMigrationRules newRules = new MigrationRules(new MigrationDefinition(definition, versionQualifier.StartVersion, logger), versionQualifier.StartVersion, logger); rulesBuilder.Build(newRules); return rules; }
public IMigrationRules MigrateUsing(IMigrationRulesBuilder rulesBuilder) { IMigrationRules newRules = new MigrationRules(new MigrationDefinition(definition, versionQualifier.StartVersion, logger), versionQualifier.StartVersion, logger); rulesBuilder.Build(newRules); return(rules); }
public void AddRules(IMigrationRulesBuilder migrationRulesBuilder) { IMigrationRules migrationRules = new MigrationRules(this, fromVersion, logger); migrationRulesBuilder.Build(migrationRules); }