CSharpMigrationOperationGenerator.Generate 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Generate(InsertDataOperation, IndentedStringBuilder)
为 InsertDataOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As InsertDataOperation, builder As IndentedStringBuilder)
参数
- operation
- InsertDataOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(InsertDataOperation, IndentedStringBuilder)
为 InsertDataOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As InsertDataOperation, builder As IndentedStringBuilder)
参数
- operation
- InsertDataOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(EnsureSchemaOperation, IndentedStringBuilder)
为 EnsureSchemaOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As EnsureSchemaOperation, builder As IndentedStringBuilder)
参数
- operation
- EnsureSchemaOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(EnsureSchemaOperation, IndentedStringBuilder)
为 EnsureSchemaOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As EnsureSchemaOperation, builder As IndentedStringBuilder)
参数
- operation
- EnsureSchemaOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DropUniqueConstraintOperation, IndentedStringBuilder)
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropUniqueConstraintOperation, builder As IndentedStringBuilder)
参数
- operation
- DropUniqueConstraintOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DropUniqueConstraintOperation, IndentedStringBuilder)
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropUniqueConstraintOperation, builder As IndentedStringBuilder)
参数
- operation
- DropUniqueConstraintOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DropSequenceOperation, IndentedStringBuilder)
为 DropSequenceOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropSequenceOperation, builder As IndentedStringBuilder)
参数
- operation
- DropSequenceOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DropTableOperation, IndentedStringBuilder)
为 DropTableOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropTableOperation, builder As IndentedStringBuilder)
参数
- operation
- DropTableOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(MigrationOperation, IndentedStringBuilder)
为未知 MigrationOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As MigrationOperation, builder As IndentedStringBuilder)
参数
- operation
- MigrationOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DropSequenceOperation, IndentedStringBuilder)
为 DropSequenceOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropSequenceOperation, builder As IndentedStringBuilder)
参数
- operation
- DropSequenceOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DropSchemaOperation, IndentedStringBuilder)
为 DropSchemaOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropSchemaOperation, builder As IndentedStringBuilder)
参数
- operation
- DropSchemaOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DropSchemaOperation, IndentedStringBuilder)
为 DropSchemaOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropSchemaOperation, builder As IndentedStringBuilder)
参数
- operation
- DropSchemaOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DropPrimaryKeyOperation, IndentedStringBuilder)
为 DropPrimaryKeyOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropPrimaryKeyOperation, builder As IndentedStringBuilder)
参数
- operation
- DropPrimaryKeyOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DropTableOperation, IndentedStringBuilder)
为 DropTableOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropTableOperation, builder As IndentedStringBuilder)
参数
- operation
- DropTableOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(MigrationOperation, IndentedStringBuilder)
为未知 MigrationOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As MigrationOperation, builder As IndentedStringBuilder)
参数
- operation
- MigrationOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(RenameIndexOperation, IndentedStringBuilder)
为 RenameIndexOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RenameIndexOperation, builder As IndentedStringBuilder)
参数
- operation
- RenameIndexOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(RenameColumnOperation, IndentedStringBuilder)
为 RenameColumnOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RenameColumnOperation, builder As IndentedStringBuilder)
参数
- operation
- RenameColumnOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)
生成用于创建 MigrationOperation 对象的代码。
public virtual void Generate (string builderName, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> operations, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Public Overridable Sub Generate (builderName As String, operations As IReadOnlyList(Of MigrationOperation), builder As IndentedStringBuilder)
参数
- builderName
- String
变量 MigrationOperation 名称。
- operations
- IReadOnlyList<MigrationOperation>
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
实现
适用于
Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)
生成用于创建 MigrationOperation 对象的代码。
public virtual void Generate (string builderName, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> operations, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Public Overridable Sub Generate (builderName As String, operations As IReadOnlyList(Of MigrationOperation), builder As IndentedStringBuilder)
参数
- builderName
- String
变量 MigrationOperation 名称。
- operations
- IReadOnlyList<MigrationOperation>
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
实现
适用于
Generate(UpdateDataOperation, IndentedStringBuilder)
为 UpdateDataOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As UpdateDataOperation, builder As IndentedStringBuilder)
参数
- operation
- UpdateDataOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(UpdateDataOperation, IndentedStringBuilder)
为 UpdateDataOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As UpdateDataOperation, builder As IndentedStringBuilder)
参数
- operation
- UpdateDataOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(SqlOperation, IndentedStringBuilder)
为 SqlOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As SqlOperation, builder As IndentedStringBuilder)
参数
- operation
- SqlOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(SqlOperation, IndentedStringBuilder)
为 SqlOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As SqlOperation, builder As IndentedStringBuilder)
参数
- operation
- SqlOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(RenameColumnOperation, IndentedStringBuilder)
为 RenameColumnOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RenameColumnOperation, builder As IndentedStringBuilder)
参数
- operation
- RenameColumnOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(RestartSequenceOperation, IndentedStringBuilder)
为 RestartSequenceOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RestartSequenceOperation, builder As IndentedStringBuilder)
参数
- operation
- RestartSequenceOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(RenameTableOperation, IndentedStringBuilder)
为 RenameTableOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RenameTableOperation, builder As IndentedStringBuilder)
参数
- operation
- RenameTableOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(RenameTableOperation, IndentedStringBuilder)
为 RenameTableOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RenameTableOperation, builder As IndentedStringBuilder)
参数
- operation
- RenameTableOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(RenameSequenceOperation, IndentedStringBuilder)
为 RenameSequenceOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RenameSequenceOperation, builder As IndentedStringBuilder)
参数
- operation
- RenameSequenceOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(RenameSequenceOperation, IndentedStringBuilder)
为 RenameSequenceOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RenameSequenceOperation, builder As IndentedStringBuilder)
参数
- operation
- RenameSequenceOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(RenameIndexOperation, IndentedStringBuilder)
为 RenameIndexOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RenameIndexOperation, builder As IndentedStringBuilder)
参数
- operation
- RenameIndexOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DropPrimaryKeyOperation, IndentedStringBuilder)
为 DropPrimaryKeyOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropPrimaryKeyOperation, builder As IndentedStringBuilder)
参数
- operation
- DropPrimaryKeyOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(RestartSequenceOperation, IndentedStringBuilder)
为 RestartSequenceOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RestartSequenceOperation, builder As IndentedStringBuilder)
参数
- operation
- RestartSequenceOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DropIndexOperation, IndentedStringBuilder)
为 DropIndexOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropIndexOperation, builder As IndentedStringBuilder)
参数
- operation
- DropIndexOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DropForeignKeyOperation, IndentedStringBuilder)
为 DropForeignKeyOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropForeignKeyOperation, builder As IndentedStringBuilder)
参数
- operation
- DropForeignKeyOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(AlterTableOperation, IndentedStringBuilder)
为 AlterTableOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AlterTableOperation, builder As IndentedStringBuilder)
参数
- operation
- AlterTableOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(AddColumnOperation, IndentedStringBuilder)
为 AddColumnOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AddColumnOperation, builder As IndentedStringBuilder)
参数
- operation
- AddColumnOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(AddForeignKeyOperation, IndentedStringBuilder)
为 AddForeignKeyOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AddForeignKeyOperation, builder As IndentedStringBuilder)
参数
- operation
- AddForeignKeyOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(AddForeignKeyOperation, IndentedStringBuilder)
为 AddForeignKeyOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AddForeignKeyOperation, builder As IndentedStringBuilder)
参数
- operation
- AddForeignKeyOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(AddPrimaryKeyOperation, IndentedStringBuilder)
为 AddPrimaryKeyOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AddPrimaryKeyOperation, builder As IndentedStringBuilder)
参数
- operation
- AddPrimaryKeyOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(AddPrimaryKeyOperation, IndentedStringBuilder)
为 AddPrimaryKeyOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AddPrimaryKeyOperation, builder As IndentedStringBuilder)
参数
- operation
- AddPrimaryKeyOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(AddUniqueConstraintOperation, IndentedStringBuilder)
为 AddUniqueConstraintOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AddUniqueConstraintOperation, builder As IndentedStringBuilder)
参数
- operation
- AddUniqueConstraintOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(AddUniqueConstraintOperation, IndentedStringBuilder)
为 AddUniqueConstraintOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AddUniqueConstraintOperation, builder As IndentedStringBuilder)
参数
- operation
- AddUniqueConstraintOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(AlterColumnOperation, IndentedStringBuilder)
为 AlterColumnOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AlterColumnOperation, builder As IndentedStringBuilder)
参数
- operation
- AlterColumnOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(AlterColumnOperation, IndentedStringBuilder)
为 AlterColumnOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AlterColumnOperation, builder As IndentedStringBuilder)
参数
- operation
- AlterColumnOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(AlterDatabaseOperation, IndentedStringBuilder)
为 AlterDatabaseOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AlterDatabaseOperation, builder As IndentedStringBuilder)
参数
- operation
- AlterDatabaseOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(AlterDatabaseOperation, IndentedStringBuilder)
为 AlterDatabaseOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AlterDatabaseOperation, builder As IndentedStringBuilder)
参数
- operation
- AlterDatabaseOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(AlterSequenceOperation, IndentedStringBuilder)
为 AlterSequenceOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AlterSequenceOperation, builder As IndentedStringBuilder)
参数
- operation
- AlterSequenceOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(AlterSequenceOperation, IndentedStringBuilder)
为 AlterSequenceOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AlterSequenceOperation, builder As IndentedStringBuilder)
参数
- operation
- AlterSequenceOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DropIndexOperation, IndentedStringBuilder)
为 DropIndexOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropIndexOperation, builder As IndentedStringBuilder)
参数
- operation
- DropIndexOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(AlterTableOperation, IndentedStringBuilder)
为 AlterTableOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AlterTableOperation, builder As IndentedStringBuilder)
参数
- operation
- AlterTableOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(CreateCheckConstraintOperation, IndentedStringBuilder)
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateCheckConstraintOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateCheckConstraintOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As CreateCheckConstraintOperation, builder As IndentedStringBuilder)
参数
- operation
- CreateCheckConstraintOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(CreateIndexOperation, IndentedStringBuilder)
为 CreateIndexOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As CreateIndexOperation, builder As IndentedStringBuilder)
参数
- operation
- CreateIndexOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(CreateIndexOperation, IndentedStringBuilder)
为 CreateIndexOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As CreateIndexOperation, builder As IndentedStringBuilder)
参数
- operation
- CreateIndexOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(CreateSequenceOperation, IndentedStringBuilder)
为 CreateSequenceOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As CreateSequenceOperation, builder As IndentedStringBuilder)
参数
- operation
- CreateSequenceOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(CreateSequenceOperation, IndentedStringBuilder)
为 CreateSequenceOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As CreateSequenceOperation, builder As IndentedStringBuilder)
参数
- operation
- CreateSequenceOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(CreateTableOperation, IndentedStringBuilder)
为 CreateTableOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As CreateTableOperation, builder As IndentedStringBuilder)
参数
- operation
- CreateTableOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(CreateTableOperation, IndentedStringBuilder)
为 CreateTableOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As CreateTableOperation, builder As IndentedStringBuilder)
参数
- operation
- CreateTableOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DeleteDataOperation, IndentedStringBuilder)
为 DeleteDataOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DeleteDataOperation, builder As IndentedStringBuilder)
参数
- operation
- DeleteDataOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DeleteDataOperation, IndentedStringBuilder)
为 DeleteDataOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DeleteDataOperation, builder As IndentedStringBuilder)
参数
- operation
- DeleteDataOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DropCheckConstraintOperation, IndentedStringBuilder)
为 DropCheckConstraintOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropCheckConstraintOperation, builder As IndentedStringBuilder)
参数
- operation
- DropCheckConstraintOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DropCheckConstraintOperation, IndentedStringBuilder)
为 DropCheckConstraintOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropCheckConstraintOperation, builder As IndentedStringBuilder)
参数
- operation
- DropCheckConstraintOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DropColumnOperation, IndentedStringBuilder)
为 DropColumnOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropColumnOperation, builder As IndentedStringBuilder)
参数
- operation
- DropColumnOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DropColumnOperation, IndentedStringBuilder)
为 DropColumnOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropColumnOperation, builder As IndentedStringBuilder)
参数
- operation
- DropColumnOperation
操作。
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(DropForeignKeyOperation, IndentedStringBuilder)
为 DropForeignKeyOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropForeignKeyOperation, builder As IndentedStringBuilder)
参数
- operation
- DropForeignKeyOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(AddColumnOperation, IndentedStringBuilder)
为 AddColumnOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AddColumnOperation, builder As IndentedStringBuilder)
参数
- operation
- AddColumnOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
Generate(AddCheckConstraintOperation, IndentedStringBuilder)
为 AddCheckConstraintOperation生成代码。
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AddCheckConstraintOperation, builder As IndentedStringBuilder)
参数
- operation
- AddCheckConstraintOperation
操作。
- builder
- IndentedStringBuilder
将生成器代码添加到 。