Freigeben über


CSharpSnapshotGenerator.GenerateIndexes Methode

Definition

Überlädt

GenerateIndexes(IEnumerable<IIndex>, IndentedStringBuilder)
GenerateIndexes(String, IEnumerable<IIndex>, IndentedStringBuilder)

Generiert Code für IIndex Objekte.

GenerateIndexes(String, IEnumerable<IIndex>, IndentedStringBuilder)

Generiert Code für IIndex Objekte.

GenerateIndexes(IEnumerable<IIndex>, IndentedStringBuilder)

protected virtual void GenerateIndexes (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IIndex> indexes, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateIndexes : seq<Microsoft.EntityFrameworkCore.Metadata.IIndex> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateIndexes : seq<Microsoft.EntityFrameworkCore.Metadata.IIndex> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateIndexes (indexes As IEnumerable(Of IIndex), stringBuilder As IndentedStringBuilder)

Parameter

indexes
IEnumerable<IIndex>
stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Gilt für:

GenerateIndexes(String, IEnumerable<IIndex>, IndentedStringBuilder)

Generiert Code für IIndex Objekte.

protected virtual void GenerateIndexes (string builderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IIndex> indexes, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateIndexes : string * seq<Microsoft.EntityFrameworkCore.Metadata.IIndex> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateIndexes : string * seq<Microsoft.EntityFrameworkCore.Metadata.IIndex> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateIndexes (builderName As String, indexes As IEnumerable(Of IIndex), stringBuilder As IndentedStringBuilder)

Parameter

builderName
String

Der Name der Generatorvariablen.

indexes
IEnumerable<IIndex>

Die Indizes.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Der Generatorcode wird hinzugefügt.

Gilt für:

GenerateIndexes(String, IEnumerable<IIndex>, IndentedStringBuilder)

Generiert Code für IIndex Objekte.

protected virtual void GenerateIndexes (string builderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IIndex> indexes, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
protected virtual void GenerateIndexes (string entityTypeBuilderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IIndex> indexes, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateIndexes : string * seq<Microsoft.EntityFrameworkCore.Metadata.IIndex> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateIndexes : string * seq<Microsoft.EntityFrameworkCore.Metadata.IIndex> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
abstract member GenerateIndexes : string * seq<Microsoft.EntityFrameworkCore.Metadata.IIndex> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateIndexes : string * seq<Microsoft.EntityFrameworkCore.Metadata.IIndex> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateIndexes (builderName As String, indexes As IEnumerable(Of IIndex), stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateIndexes (entityTypeBuilderName As String, indexes As IEnumerable(Of IIndex), stringBuilder As IndentedStringBuilder)

Parameter

builderNameentityTypeBuilderName
String

Der Name der Generatorvariablen.

indexes
IEnumerable<IIndex>

Die Indizes.

stringBuilder
IndentedStringBuilder

Der Generatorcode wird hinzugefügt.

Gilt für: