Udostępnij za pośrednictwem


CSharpSnapshotGenerator.GenerateKeyAnnotations Metoda

Definicja

Przeciążenia

GenerateKeyAnnotations(IKey, IndentedStringBuilder)

Źródło:
CSharpSnapshotGenerator.cs

Generuje kod adnotacji w kluczu.

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)

Parametry

key
IKey

Klucz.

stringBuilder
IndentedStringBuilder

Kod konstruktora jest dodawany do.

Dotyczy

GenerateKeyAnnotations(String, IKey, IndentedStringBuilder)

Źródło:
CSharpSnapshotGenerator.cs
Źródło:
CSharpSnapshotGenerator.cs
Źródło:
CSharpSnapshotGenerator.cs
Źródło:
CSharpSnapshotGenerator.cs

Generuje kod adnotacji w kluczu.

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)

Parametry

keyBuilderName
String

Nazwa zmiennej konstruktora.

key
IKey

Klucz.

stringBuilder
IndentedStringBuilder

Kod konstruktora jest dodawany do.

Dotyczy