Langue

CSharpSnapshotGenerator.GenerateIndexAnnotations Méthode

Définition

Surcharges

Nom Description
GenerateIndexAnnotations(IIndex, IndentedStringBuilder)

Génère du code pour les annotations sur un index.

GenerateIndexAnnotations(String, IIndex, IndentedStringBuilder)

Génère du code pour les annotations sur un index.

GenerateIndexAnnotations(IIndex, IndentedStringBuilder)

Source:
CSharpSnapshotGenerator.cs

Génère du code pour les annotations sur un index.

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)

Paramètres

index
IIndex

L'index.

stringBuilder
IndentedStringBuilder

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

S’applique à

GenerateIndexAnnotations(String, IIndex, IndentedStringBuilder)

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

Génère du code pour les annotations sur un index.

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)

Paramètres

indexBuilderName
String

Nom de la variable du générateur.

index
IIndex

L'index.

stringBuilder
IndentedStringBuilder

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

S’applique à