Partager via


CSharpSnapshotGenerator.GenerateIndexes Méthode

Définition

Surcharges

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

Génère du code pour les IIndex objets.

GenerateIndexes(String, IEnumerable<IIndex>, IndentedStringBuilder)

Génère du code pour les IIndex objets.

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)

Paramètres

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

S’applique à

GenerateIndexes(String, IEnumerable<IIndex>, IndentedStringBuilder)

Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs

Génère du code pour les IIndex objets.

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)

Paramètres

builderName
String

Nom de la variable de générateur.

indexes
IEnumerable<IIndex>

Index.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Le code du générateur est ajouté à.

S’applique à

GenerateIndexes(String, IEnumerable<IIndex>, IndentedStringBuilder)

Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs

Génère du code pour les IIndex objets.

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)

Paramètres

builderNameentityTypeBuilderName
String

Nom de la variable de générateur.

indexes
IEnumerable<IIndex>

Index.

stringBuilder
IndentedStringBuilder

Le code du générateur est ajouté à.

S’applique à