Partager via


CSharpSnapshotGenerator.GenerateKeyAnnotations Méthode

Définition

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 à