ICSharpMigrationOperationGenerator.Generate Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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)
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 à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour