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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework