CSharpSnapshotGenerator.GenerateSequenceAnnotations 方法

定义

为序列批注生成代码。

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

将生成器代码添加到 。

适用于