Partager via


CSharpSnapshotGenerator.GenerateSequence Méthode

Définition

Génère du code pour un 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)

Paramètres

builderNamemodelBuilderName
String

Nom de la variable de générateur.

sequence
ISequence

Séquence.

stringBuilder
IndentedStringBuilder

Le code du générateur est ajouté à.

S’applique à