语言

CSharpMigrationOperationGenerator.Generate 方法

定义

重载

名称 说明
Generate(InsertDataOperation, IndentedStringBuilder)

为 . 生成代码 InsertDataOperation。

Generate(InsertDataOperation, IndentedStringBuilder)

为 . 生成代码 InsertDataOperation。

Generate(EnsureSchemaOperation, IndentedStringBuilder)

为 . 生成代码 EnsureSchemaOperation。

Generate(EnsureSchemaOperation, IndentedStringBuilder)

为 . 生成代码 EnsureSchemaOperation。

Generate(DropUniqueConstraintOperation, IndentedStringBuilder)

为 . 生成代码DropUniqueConstraintOperation

Generate(DropUniqueConstraintOperation, IndentedStringBuilder)

为 . 生成代码DropUniqueConstraintOperation

Generate(DropSequenceOperation, IndentedStringBuilder)

为 . 生成代码DropSequenceOperation

Generate(DropTableOperation, IndentedStringBuilder)

为 . 生成代码DropTableOperation

Generate(MigrationOperation, IndentedStringBuilder)

为未知 MigrationOperation生成代码。

Generate(DropSequenceOperation, IndentedStringBuilder)

为 . 生成代码DropSequenceOperation

Generate(DropSchemaOperation, IndentedStringBuilder)

为 . 生成代码DropSchemaOperation

Generate(DropSchemaOperation, IndentedStringBuilder)

为 . 生成代码DropSchemaOperation

Generate(DropPrimaryKeyOperation, IndentedStringBuilder)

为 . 生成代码DropPrimaryKeyOperation

Generate(DropTableOperation, IndentedStringBuilder)

为 . 生成代码DropTableOperation

Generate(MigrationOperation, IndentedStringBuilder)

为未知 MigrationOperation生成代码。

Generate(RenameIndexOperation, IndentedStringBuilder)

为 . 生成代码RenameIndexOperation

Generate(RenameColumnOperation, IndentedStringBuilder)

为 . 生成代码RenameColumnOperation

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

生成用于创建 MigrationOperation 对象的代码。

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

生成用于创建 MigrationOperation 对象的代码。

Generate(UpdateDataOperation, IndentedStringBuilder)

为 . 生成代码 UpdateDataOperation。

Generate(UpdateDataOperation, IndentedStringBuilder)

为 . 生成代码 UpdateDataOperation。

Generate(SqlOperation, IndentedStringBuilder)

为 . 生成代码SqlOperation

Generate(SqlOperation, IndentedStringBuilder)

为 . 生成代码SqlOperation

Generate(RenameColumnOperation, IndentedStringBuilder)

为 . 生成代码RenameColumnOperation

Generate(RestartSequenceOperation, IndentedStringBuilder)

为 . 生成代码RestartSequenceOperation

Generate(RenameTableOperation, IndentedStringBuilder)

为 . 生成代码RenameTableOperation

Generate(RenameTableOperation, IndentedStringBuilder)

为 . 生成代码RenameTableOperation

Generate(RenameSequenceOperation, IndentedStringBuilder)

为 . 生成代码RenameSequenceOperation

Generate(RenameSequenceOperation, IndentedStringBuilder)

为 . 生成代码RenameSequenceOperation

Generate(RenameIndexOperation, IndentedStringBuilder)

为 . 生成代码RenameIndexOperation

Generate(DropPrimaryKeyOperation, IndentedStringBuilder)

为 . 生成代码DropPrimaryKeyOperation

Generate(RestartSequenceOperation, IndentedStringBuilder)

为 . 生成代码RestartSequenceOperation

Generate(DropIndexOperation, IndentedStringBuilder)

为 . 生成代码DropIndexOperation

Generate(DropForeignKeyOperation, IndentedStringBuilder)

为 . 生成代码DropForeignKeyOperation

Generate(AlterTableOperation, IndentedStringBuilder)

为 . 生成代码 AlterTableOperation。

Generate(AddColumnOperation, IndentedStringBuilder)

为 . 生成代码 AddColumnOperation。

Generate(AddForeignKeyOperation, IndentedStringBuilder)

为 . 生成代码 AddForeignKeyOperation。

Generate(AddForeignKeyOperation, IndentedStringBuilder)

为 . 生成代码 AddForeignKeyOperation。

Generate(AddPrimaryKeyOperation, IndentedStringBuilder)

为 . 生成代码 AddPrimaryKeyOperation。

Generate(AddPrimaryKeyOperation, IndentedStringBuilder)

为 . 生成代码 AddPrimaryKeyOperation。

Generate(AddUniqueConstraintOperation, IndentedStringBuilder)

为 . 生成代码 AddUniqueConstraintOperation。

Generate(AddUniqueConstraintOperation, IndentedStringBuilder)

为 . 生成代码 AddUniqueConstraintOperation。

Generate(AlterColumnOperation, IndentedStringBuilder)

为 . 生成代码 AlterColumnOperation。

Generate(AlterColumnOperation, IndentedStringBuilder)

为 . 生成代码 AlterColumnOperation。

Generate(AlterDatabaseOperation, IndentedStringBuilder)

为 . 生成代码 AlterDatabaseOperation。

Generate(AlterDatabaseOperation, IndentedStringBuilder)

为 . 生成代码 AlterDatabaseOperation。

Generate(AlterSequenceOperation, IndentedStringBuilder)

为 . 生成代码 AlterSequenceOperation。

Generate(AlterSequenceOperation, IndentedStringBuilder)

为 . 生成代码 AlterSequenceOperation。

Generate(DropIndexOperation, IndentedStringBuilder)

为 . 生成代码DropIndexOperation

Generate(AlterTableOperation, IndentedStringBuilder)

为 . 生成代码 AlterTableOperation。

Generate(CreateCheckConstraintOperation, IndentedStringBuilder)

为 . 生成代码 CreateCheckConstraintOperation。

Generate(CreateIndexOperation, IndentedStringBuilder)

为 . 生成代码CreateIndexOperation

Generate(CreateIndexOperation, IndentedStringBuilder)

为 . 生成代码CreateIndexOperation

Generate(CreateSequenceOperation, IndentedStringBuilder)

为 . 生成代码CreateSequenceOperation

Generate(CreateSequenceOperation, IndentedStringBuilder)

为 . 生成代码CreateSequenceOperation

Generate(CreateTableOperation, IndentedStringBuilder)

为 . 生成代码CreateTableOperation

Generate(CreateTableOperation, IndentedStringBuilder)

为 . 生成代码CreateTableOperation

Generate(DeleteDataOperation, IndentedStringBuilder)

为 . 生成代码DeleteDataOperation

Generate(DeleteDataOperation, IndentedStringBuilder)

为 . 生成代码DeleteDataOperation

Generate(DropCheckConstraintOperation, IndentedStringBuilder)

为 . 生成代码DropCheckConstraintOperation

Generate(DropCheckConstraintOperation, IndentedStringBuilder)

为 . 生成代码DropCheckConstraintOperation

Generate(DropColumnOperation, IndentedStringBuilder)

为 . 生成代码DropColumnOperation

Generate(DropColumnOperation, IndentedStringBuilder)

为 . 生成代码DropColumnOperation

Generate(DropForeignKeyOperation, IndentedStringBuilder)

为 . 生成代码DropForeignKeyOperation

Generate(AddColumnOperation, IndentedStringBuilder)

为 . 生成代码 AddColumnOperation。

Generate(AddCheckConstraintOperation, IndentedStringBuilder)

为 . 生成代码 AddCheckConstraintOperation。

Generate(InsertDataOperation, IndentedStringBuilder)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码DropUniqueConstraintOperation

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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码DropUniqueConstraintOperation

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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为未知 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为未知 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

生成用于创建 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

生成用于创建 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 CreateCheckConstraintOperation。

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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs

为 . 生成代码 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

将生成器代码添加到该代码中。

适用于