共用方式為


ICSharpMigrationOperationGenerator.Generate 方法

定義

多載

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

產生用於建立 MigrationOperation 物件的程式碼。

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

產生用於建立 MigrationOperation 物件的程式碼。

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

產生用於建立 MigrationOperation 物件的程式碼。

public 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
Public Sub Generate (builderName As String, operations As IReadOnlyList(Of MigrationOperation), builder As IndentedStringBuilder)

參數

builderName
String

變數 MigrationOperation 名稱。

operations
IReadOnlyList<MigrationOperation>

作業。

builder
IndentedStringBuilder

建立器程式碼會新增至 。

適用於

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

產生用於建立 MigrationOperation 物件的程式碼。

public 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
Public Sub Generate (builderName As String, operations As IReadOnlyList(Of MigrationOperation), builder As IndentedStringBuilder)

參數

builderName
String

變數 MigrationOperation 名稱。

operations
IReadOnlyList<MigrationOperation>

作業。

builder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

建立器程式碼會新增至 。

適用於