Compartilhar via


CSharpSnapshotGenerator.GenerateIndexes Método

Definição

Sobrecargas

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

Gera código para IIndex objetos .

GenerateIndexes(String, IEnumerable<IIndex>, IndentedStringBuilder)

Gera código para IIndex objetos .

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)

Parâmetros

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

Aplica-se a

GenerateIndexes(String, IEnumerable<IIndex>, IndentedStringBuilder)

Gera código para IIndex objetos .

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)

Parâmetros

builderName
String

O nome da variável do construtor.

indexes
IEnumerable<IIndex>

Os índices.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a

GenerateIndexes(String, IEnumerable<IIndex>, IndentedStringBuilder)

Gera código para IIndex objetos .

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)

Parâmetros

builderNameentityTypeBuilderName
String

O nome da variável do construtor.

indexes
IEnumerable<IIndex>

Os índices.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a