CSharpSnapshotGenerator.GenerateIndexAnnotations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework