CSharpSnapshotGenerator.GenerateKeyAnnotations Yöntem

Tanım

Aşırı Yüklemeler

GenerateKeyAnnotations(IKey, IndentedStringBuilder)

Bir anahtardaki ek açıklamalar için kod üretir.

GenerateKeyAnnotations(String, IKey, IndentedStringBuilder)

Bir anahtardaki ek açıklamalar için kod üretir.

GenerateKeyAnnotations(IKey, IndentedStringBuilder)

Bir anahtardaki ek açıklamalar için kod üretir.

protected virtual void GenerateKeyAnnotations (Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateKeyAnnotations (key As IKey, stringBuilder As IndentedStringBuilder)

Parametreler

key
IKey

Anahtar.

stringBuilder
IndentedStringBuilder

Oluşturucu kodu öğesine eklenir.

Şunlara uygulanır

GenerateKeyAnnotations(String, IKey, IndentedStringBuilder)

Bir anahtardaki ek açıklamalar için kod üretir.

protected virtual void GenerateKeyAnnotations (string keyBuilderName, Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateKeyAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateKeyAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateKeyAnnotations (keyBuilderName As String, key As IKey, stringBuilder As IndentedStringBuilder)

Parametreler

keyBuilderName
String

Oluşturucu değişkeninin adı.

key
IKey

Anahtar.

stringBuilder
IndentedStringBuilder

Oluşturucu kodu öğesine eklenir.

Şunlara uygulanır