CSharpSnapshotGenerator.GenerateKeyAnnotations 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
GenerateKeyAnnotations(IKey, IndentedStringBuilder) |
Génère du code pour les annotations sur une clé. |
GenerateKeyAnnotations(String, IKey, IndentedStringBuilder) |
Génère du code pour les annotations sur une clé. |
GenerateKeyAnnotations(IKey, IndentedStringBuilder)
Génère du code pour les annotations sur une clé.
protected virtual void GenerateKeyAnnotations (Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateKeyAnnotations (key As IKey, stringBuilder As IndentedStringBuilder)
Paramètres
- key
- IKey
Clé.
- stringBuilder
- IndentedStringBuilder
Le code du générateur est ajouté à.
S’applique à
GenerateKeyAnnotations(String, IKey, IndentedStringBuilder)
Génère du code pour les annotations sur une clé.
protected virtual void GenerateKeyAnnotations (string keyBuilderName, Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateKeyAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateKeyAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateKeyAnnotations (keyBuilderName As String, key As IKey, stringBuilder As IndentedStringBuilder)
Paramètres
- keyBuilderName
- String
Nom de la variable de générateur.
- key
- IKey
Clé.
- stringBuilder
- 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