public MigrationOptions(IMigrationResolver migrationResolver) { Direction = Directions.Up; Assemblies = new List <Assembly>(); Profiles = new List <string>(); MigrationResolver = migrationResolver; Assemblies = new List <Assembly>(); ToVersion = 0; Conventions = new MigrationConventions(); MigrationResolver = migrationResolver; }
public MigrationOptions(IMigrationResolver migrationResolver) { Direction = Directions.Up; Assemblies = new List <Assembly>(); Profiles = new List <string>(); MigrationResolver = migrationResolver; Assemblies = new List <Assembly>(); ToVersion = 0; Conventions = new MigrationConventions(); MigrationResolver = migrationResolver; PreventSimultaneousMigrations = true; SimultaneousMigrationTimeout = TimeSpan.FromHours(1); }