CSharpSnapshotGenerator.GenerateSequenceAnnotations Method

Definition

Generates code for sequence annotations.

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)

Parameters

sequenceBuilderName
String

The name of the sequence builder variable.

sequence
ISequence

The sequence.

stringBuilder
IndentedStringBuilder

The builder code is added to.

Applies to