CSharpSnapshotGenerator.GenerateSequenceAnnotations 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为序列批注生成代码。
protected virtual void GenerateSequenceAnnotations (string sequenceBuilderName, Microsoft.EntityFrameworkCore.Metadata.ISequence sequence, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateSequenceAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.ISequence * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateSequenceAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.ISequence * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateSequenceAnnotations (sequenceBuilderName As String, sequence As ISequence, stringBuilder As IndentedStringBuilder)
参数
- sequenceBuilderName
- String
序列生成器变量的名称。
- sequence
- ISequence
序列。
- stringBuilder
- IndentedStringBuilder
将生成器代码添加到 。