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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

将生成器代码添加到 。

适用于