Sdílet prostřednictvím


CSharpSnapshotGenerator.GenerateForeignKeyAnnotations Metoda

Definice

Přetížení

GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)

Vygeneruje kód pro poznámky na cizí klíč.

GenerateForeignKeyAnnotations(String, IForeignKey, IndentedStringBuilder)

Vygeneruje kód pro poznámky na cizí klíč.

GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)

Vygeneruje kód pro poznámky na cizí klíč.

GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)

Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs

Vygeneruje kód pro poznámky na cizí klíč.

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)

Parametry

foreignKey
IForeignKey

Cizí klíč.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Kód tvůrce se přidá do.

Platí pro

GenerateForeignKeyAnnotations(String, IForeignKey, IndentedStringBuilder)

Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs
Zdroj:
CSharpSnapshotGenerator.cs

Vygeneruje kód pro poznámky na cizí klíč.

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)

Parametry

foreignKeyBuilderName
String

Název proměnné tvůrce.

foreignKey
IForeignKey

Cizí klíč.

stringBuilder
IndentedStringBuilder

Kód tvůrce se přidá do.

Platí pro

GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)

Zdroj:
CSharpSnapshotGenerator.cs

Vygeneruje kód pro poznámky na cizí klíč.

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)

Parametry

foreignKey
IForeignKey

Cizí klíč.

stringBuilder
IndentedStringBuilder

Kód tvůrce se přidá do.

Platí pro