Condividi tramite


ICSharpMigrationOperationGenerator.Generate Metodo

Definizione

Overload

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Genera codice per la creazione di MigrationOperation oggetti.

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Genera codice per la creazione di MigrationOperation oggetti.

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Origine:
ICSharpMigrationOperationGenerator.cs
Origine:
ICSharpMigrationOperationGenerator.cs
Origine:
ICSharpMigrationOperationGenerator.cs

Genera codice per la creazione di MigrationOperation oggetti.

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)

Parametri

builderName
String

Nome della MigrationOperation variabile.

operations
IReadOnlyList<MigrationOperation>

Operazioni.

builder
IndentedStringBuilder

Il codice del generatore viene aggiunto a.

Si applica a

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Genera codice per la creazione di MigrationOperation oggetti.

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)

Parametri

builderName
String

Nome della MigrationOperation variabile.

operations
IReadOnlyList<MigrationOperation>

Operazioni.

builder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Il codice del generatore viene aggiunto a.

Si applica a