public MigrationScaffolder( [NotNull] DbContextConfiguration contextConfiguration, [NotNull] MigrationAssembly migrationAssembly, [NotNull] ModelDiffer modelDiffer, [NotNull] MigrationCodeGenerator migrationCodeGenerator) { Check.NotNull(contextConfiguration, "contextConfiguration"); Check.NotNull(migrationAssembly, "migrationAssembly"); Check.NotNull(modelDiffer, "modelDiffer"); Check.NotNull(migrationCodeGenerator, "migrationCodeGenerator"); _contextConfiguration = contextConfiguration; _migrationAssembly = migrationAssembly; _modelDiffer = modelDiffer; _migrationCodeGenerator = migrationCodeGenerator; }
public MyMigrationScaffolder( DbContextConfiguration contextConfiguration, MigrationAssembly migrationAssembly, ModelDiffer modelDiffer, MigrationCodeGenerator migrationCodeGenerator, Action<string, string, string> migrationValidation, Action<string, string> modelValidation) : base( contextConfiguration, migrationAssembly, modelDiffer, migrationCodeGenerator) { _migrationValidation = migrationValidation; _modelValidation = modelValidation; }