Share via


CSharpSnapshotGenerator.GenerateIndex Method

Definition

Overloads

GenerateIndex(IIndex, IndentedStringBuilder)
GenerateIndex(String, IIndex, IndentedStringBuilder)

Generates code an IIndex.

GenerateIndex(String, IIndex, IndentedStringBuilder)

Generates code an IIndex.

GenerateIndex(IIndex, IndentedStringBuilder)

protected virtual void GenerateIndex (Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateIndex : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateIndex : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateIndex (index As IIndex, stringBuilder As IndentedStringBuilder)

Parameters

index
IIndex
stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Applies to

GenerateIndex(String, IIndex, IndentedStringBuilder)

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

Generates code an IIndex.

protected virtual void GenerateIndex (string builderName, Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateIndex : string * Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateIndex : string * Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateIndex (builderName As String, index As IIndex, stringBuilder As IndentedStringBuilder)

Parameters

builderName
String

The name of the builder variable.

index
IIndex

The index.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

The builder code is added to.

Applies to

GenerateIndex(String, IIndex, IndentedStringBuilder)

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

Generates code an IIndex.

protected virtual void GenerateIndex (string builderName, Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
protected virtual void GenerateIndex (string entityTypeBuilderName, Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateIndex : string * Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateIndex : string * Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
abstract member GenerateIndex : string * Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateIndex : string * Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateIndex (builderName As String, index As IIndex, stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateIndex (entityTypeBuilderName As String, index As IIndex, stringBuilder As IndentedStringBuilder)

Parameters

builderNameentityTypeBuilderName
String

The name of the builder variable.

index
IIndex

The index.

stringBuilder
IndentedStringBuilder

The builder code is added to.

Applies to