CSharpSnapshotGenerator.GenerateSequence Method

Definition

Generates code for an ISequence.

protected virtual void GenerateSequence (string builderName, Microsoft.EntityFrameworkCore.Metadata.ISequence sequence, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
protected virtual void GenerateSequence (string modelBuilderName, Microsoft.EntityFrameworkCore.Metadata.ISequence sequence, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateSequence : string * Microsoft.EntityFrameworkCore.Metadata.ISequence * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateSequence : string * Microsoft.EntityFrameworkCore.Metadata.ISequence * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
abstract member GenerateSequence : string * Microsoft.EntityFrameworkCore.Metadata.ISequence * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateSequence : string * Microsoft.EntityFrameworkCore.Metadata.ISequence * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateSequence (builderName As String, sequence As ISequence, stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateSequence (modelBuilderName As String, sequence As ISequence, stringBuilder As IndentedStringBuilder)

Parameters

builderNamemodelBuilderName
String

The name of the builder variable.

sequence
ISequence

The sequence.

stringBuilder
IndentedStringBuilder

The builder code is added to.

Applies to