Partager via


CSharpSnapshotGenerator.GenerateForeignKeyAnnotations Méthode

Définition

Surcharges

GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)

Génère du code pour les annotations sur une clé étrangère.

GenerateForeignKeyAnnotations(String, IForeignKey, IndentedStringBuilder)

Génère du code pour les annotations sur une clé étrangère.

GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)

Génère du code pour les annotations sur une clé étrangère.

GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)

Génère du code pour les annotations sur une clé étrangère.

protected virtual void GenerateForeignKeyAnnotations (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateForeignKeyAnnotations (foreignKey As IForeignKey, stringBuilder As IndentedStringBuilder)

Paramètres

foreignKey
IForeignKey

Clé étrangère.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

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

S’applique à

GenerateForeignKeyAnnotations(String, IForeignKey, IndentedStringBuilder)

Génère du code pour les annotations sur une clé étrangère.

protected virtual void GenerateForeignKeyAnnotations (string foreignKeyBuilderName, Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateForeignKeyAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateForeignKeyAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateForeignKeyAnnotations (foreignKeyBuilderName As String, foreignKey As IForeignKey, stringBuilder As IndentedStringBuilder)

Paramètres

foreignKeyBuilderName
String

Nom de la variable de générateur.

foreignKey
IForeignKey

Clé étrangère.

stringBuilder
IndentedStringBuilder

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

S’applique à

GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)

Génère du code pour les annotations sur une clé étrangère.

protected virtual void GenerateForeignKeyAnnotations (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateForeignKeyAnnotations (foreignKey As IForeignKey, stringBuilder As IndentedStringBuilder)

Paramètres

foreignKey
IForeignKey

Clé étrangère.

stringBuilder
IndentedStringBuilder

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

S’applique à