Share via


CSharpSnapshotGenerator.GenerateIndexAnnotations Method

Definition

Overloads

GenerateIndexAnnotations(IIndex, IndentedStringBuilder)

Generates code for the annotations on an index.

GenerateIndexAnnotations(String, IIndex, IndentedStringBuilder)

Generates code for the annotations on an index.

GenerateIndexAnnotations(IIndex, IndentedStringBuilder)

Source:
CSharpSnapshotGenerator.cs

Generates code for the annotations on an 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)

Parameters

index
IIndex

The index.

stringBuilder
IndentedStringBuilder

The builder code is added to.

Applies to

GenerateIndexAnnotations(String, IIndex, IndentedStringBuilder)

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

Generates code for the annotations on an 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)

Parameters

indexBuilderName
String

The name of the builder variable.

index
IIndex

The index.

stringBuilder
IndentedStringBuilder

The builder code is added to.

Applies to