Поделиться через


CSharpSnapshotGenerator.GenerateSequence Метод

Определение

Создает код для 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)

Параметры

builderNamemodelBuilderName
String

Имя переменной построителя.

sequence
ISequence

Последовательность.

stringBuilder
IndentedStringBuilder

Код построителя добавляется в .

Применяется к