Partilhar via


CSharpSnapshotGenerator.GenerateSequence Método

Definição

Gera código para um 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)

Parâmetros

builderNamemodelBuilderName
String

O nome da variável do construtor.

sequence
ISequence

A sequência.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a