CSharpSnapshotGenerator.GenerateForeignKeys Methode

Definition

Überlädt

GenerateForeignKeys(String, IEnumerable<IForeignKey>, IndentedStringBuilder)

Generiert Code für- IForeignKey Objekte.

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

Generiert Code für- IForeignKey Objekte.

GenerateForeignKeys(String, IEnumerable<IForeignKey>, IndentedStringBuilder)

Generiert Code für- IForeignKey Objekte.

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)

Parameter

builderName
String

Der Name der Generator Variablen.

foreignKeys
IEnumerable<IForeignKey>

Die Fremdschlüssel.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Der Builder-Code wird hinzugefügt.

Gilt für:

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)

Parameter

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

Gilt für:

GenerateForeignKeys(String, IEnumerable<IForeignKey>, IndentedStringBuilder)

Generiert Code für- IForeignKey Objekte.

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)

Parameter

builderName
String

Der Name der Generator Variablen.

foreignKeys
IEnumerable<IForeignKey>

Die Fremdschlüssel.

stringBuilder
IndentedStringBuilder

Der Builder-Code wird hinzugefügt.

Gilt für: