Partager via


ICSharpMigrationOperationGenerator.Generate Méthode

Définition

Surcharges

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Génère du code pour la création d’objets MigrationOperation .

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Génère du code pour la création d’objets MigrationOperation .

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Source:
ICSharpMigrationOperationGenerator.cs
Source:
ICSharpMigrationOperationGenerator.cs
Source:
ICSharpMigrationOperationGenerator.cs

Génère du code pour la création d’objets 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)

Paramètres

builderName
String

Nom de la MigrationOperation variable.

operations
IReadOnlyList<MigrationOperation>

Opérations.

builder
IndentedStringBuilder

Le code du générateur est ajouté à.

S’applique à

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Génère du code pour la création d’objets 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)

Paramètres

builderName
String

Nom de la MigrationOperation variable.

operations
IReadOnlyList<MigrationOperation>

Opérations.

builder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Le code du générateur est ajouté à.

S’applique à