Freigeben über


CSharpSnapshotGenerator.GenerateSequence Methode

Definition

Generiert Code für ein 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)

Parameter

builderNamemodelBuilderName
String

Der Name der Generatorvariablen.

sequence
ISequence

Die Sequenz.

stringBuilder
IndentedStringBuilder

Der Generatorcode wird hinzugefügt.

Gilt für: