Freigeben über


ICSharpMigrationOperationGenerator.Generate Methode

Definition

Überlädt

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Generiert Code zum Erstellen von MigrationOperation Objekten.

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Generiert Code zum Erstellen von MigrationOperation Objekten.

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Generiert Code zum Erstellen von MigrationOperation Objekten.

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)

Parameter

builderName
String

Der MigrationOperation Variablenname.

operations
IReadOnlyList<MigrationOperation>

Die Vorgänge.

builder
IndentedStringBuilder

Der Generatorcode wird hinzugefügt.

Gilt für:

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Generiert Code zum Erstellen von MigrationOperation Objekten.

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)

Parameter

builderName
String

Der MigrationOperation Variablenname.

operations
IReadOnlyList<MigrationOperation>

Die Vorgänge.

builder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Der Generatorcode wird hinzugefügt.

Gilt für: