Udostępnij za pośrednictwem


CSharpSnapshotGenerator.GenerateIndexAnnotations Metoda

Definicja

Przeciążenia

GenerateIndexAnnotations(IIndex, IndentedStringBuilder)

Źródło:
CSharpSnapshotGenerator.cs

Generuje kod adnotacji w indeksie.

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

Parametry

index
IIndex

Indeks.

stringBuilder
IndentedStringBuilder

Kod konstruktora jest dodawany do elementu .

Dotyczy

GenerateIndexAnnotations(String, IIndex, 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 indeksie.

protected virtual void GenerateIndexAnnotations(string indexBuilderName, Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateIndexAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateIndexAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateIndexAnnotations (indexBuilderName As String, index As IIndex, stringBuilder As IndentedStringBuilder)

Parametry

indexBuilderName
String

Nazwa zmiennej konstruktora.

index
IIndex

Indeks.

stringBuilder
IndentedStringBuilder

Kod konstruktora jest dodawany do elementu .

Dotyczy