CSharpSnapshotGenerator.GenerateIndex 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GenerateIndex(IIndex, IndentedStringBuilder) | |
GenerateIndex(String, IIndex, IndentedStringBuilder) |
生成代码 IIndex。 |
GenerateIndex(String, IIndex, IndentedStringBuilder) |
生成代码 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)
参数
- index
- IIndex
- stringBuilder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
适用于
GenerateIndex(String, IIndex, IndentedStringBuilder)
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
生成代码 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)
参数
- builderName
- String
生成器变量的名称。
- index
- IIndex
索引。
- stringBuilder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。
适用于
GenerateIndex(String, IIndex, IndentedStringBuilder)
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
生成代码 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)
参数
- builderNameentityTypeBuilderName
- String
生成器变量的名称。
- index
- IIndex
索引。
- stringBuilder
- IndentedStringBuilder
将生成器代码添加到 。