CSharpSnapshotGenerator.GenerateForeignKeyAnnotations Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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)
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)
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)
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
Entity Framework