CSharpSnapshotGenerator.GenerateForeignKeys Méthode

Définition

Surcharges

GenerateForeignKeys(String, IEnumerable<IForeignKey>, IndentedStringBuilder)

Génère du code pour les IForeignKey objets.

GenerateForeignKeys(IEnumerable<IForeignKey>, IndentedStringBuilder)
GenerateForeignKeys(String, IEnumerable<IForeignKey>, IndentedStringBuilder)

Génère du code pour les IForeignKey objets.

GenerateForeignKeys(String, IEnumerable<IForeignKey>, IndentedStringBuilder)

Génère du code pour les IForeignKey objets.

protected virtual void GenerateForeignKeys (string builderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> foreignKeys, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateForeignKeys : string * seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateForeignKeys : string * seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateForeignKeys (builderName As String, foreignKeys As IEnumerable(Of IForeignKey), stringBuilder As IndentedStringBuilder)

Paramètres

builderName
String

Nom de la variable de générateur.

foreignKeys
IEnumerable<IForeignKey>

Clés étrangères.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

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

S’applique à

GenerateForeignKeys(IEnumerable<IForeignKey>, IndentedStringBuilder)

protected virtual void GenerateForeignKeys (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> foreignKeys, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateForeignKeys : seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateForeignKeys : seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateForeignKeys (foreignKeys As IEnumerable(Of IForeignKey), stringBuilder As IndentedStringBuilder)

Paramètres

foreignKeys
IEnumerable<IForeignKey>
stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

S’applique à

GenerateForeignKeys(String, IEnumerable<IForeignKey>, IndentedStringBuilder)

Génère du code pour les IForeignKey objets.

protected virtual void GenerateForeignKeys (string builderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> foreignKeys, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateForeignKeys : string * seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateForeignKeys : string * seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateForeignKeys (builderName As String, foreignKeys As IEnumerable(Of IForeignKey), stringBuilder As IndentedStringBuilder)

Paramètres

builderName
String

Nom de la variable de générateur.

foreignKeys
IEnumerable<IForeignKey>

Clés étrangères.

stringBuilder
IndentedStringBuilder

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

S’applique à