public virtual IReadOnlyList<IRelationalCommand> Generate( IReadOnlyList<MigrationOperation> operations, IModel model = null) { Check.NotNull(operations, nameof(operations)); var builder = new RelationalCommandListBuilder(_commandBuilderFactory); foreach (var operation in operations) { Generate(operation, model, builder); builder .AppendLine(SqlGenerationHelper.StatementTerminator) .EndCommand(); } return builder.GetCommands(); }
protected override void Generate(RenameIndexOperation operation, IModel model, RelationalCommandListBuilder builder) { }
protected override void Generate(AlterColumnOperation operation, IModel model, RelationalCommandListBuilder builder) { }
protected override void Generate(EnsureSchemaOperation operation, IModel model, RelationalCommandListBuilder builder) { }