CSharpSnapshotGenerator.GenerateForeignKeyAnnotations Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
| GenerateForeignKeyAnnotations(String, IForeignKey, IndentedStringBuilder) |
Yabancı anahtardaki ek açıklamalar için kod üretir. |
| GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder) |
Yabancı anahtardaki ek açıklamalar için kod üretir. |
| GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder) |
Yabancı anahtardaki ek açıklamalar için kod üretir. |
GenerateForeignKeyAnnotations(String, IForeignKey, IndentedStringBuilder)
Yabancı anahtardaki ek açıklamalar için kod üretir.
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)
Parametreler
- foreignKeyBuilderName
- String
Oluşturucu değişkeninin adı.
- foreignKey
- IForeignKey
Yabancı anahtar.
- stringBuilder
- IndentedStringBuilder
Oluşturucu kodu öğesine eklenir.
Şunlara uygulanır
GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)
Yabancı anahtardaki ek açıklamalar için kod üretir.
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)
Parametreler
- foreignKey
- IForeignKey
Yabancı anahtar.
- stringBuilder
- IndentedStringBuilder
Oluşturucu kodu öğesine eklenir.
Şunlara uygulanır
GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)
Yabancı anahtardaki ek açıklamalar için kod üretir.
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)
Parametreler
- foreignKey
- IForeignKey
Yabancı anahtar.
- stringBuilder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
Oluşturucu kodu öğesine eklenir.