共用方式為


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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
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

建立器程式碼會新增至 。

適用於