Partilhar via


MigrationsSqlGenerator.SequenceOptions Método

Definição

Sobrecargas

SequenceOptions(AlterSequenceOperation, IModel, MigrationCommandListBuilder)

Gera um fragmento SQL configurando uma sequência em um AlterSequenceOperation.

SequenceOptions(CreateSequenceOperation, IModel, MigrationCommandListBuilder)

Gera um fragmento SQL configurando uma sequência em um CreateSequenceOperation.

SequenceOptions(String, String, SequenceOperation, IModel, MigrationCommandListBuilder)

Gera um fragmento SQL configurando uma sequência com as opções fornecidas.

SequenceOptions(String, String, Int32, Nullable<Int64>, Nullable<Int64>, Boolean, IModel, MigrationCommandListBuilder)

Gera um fragmento SQL configurando uma sequência com as opções fornecidas.

SequenceOptions(AlterSequenceOperation, IModel, MigrationCommandListBuilder)

Gera um fragmento SQL configurando uma sequência em um AlterSequenceOperation.

protected virtual void SequenceOptions (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void SequenceOptions (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member SequenceOptions : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.SequenceOptions : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub SequenceOptions (operation As AlterSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)

Parâmetros

operation
AlterSequenceOperation

A operação.

model
IModel

O modelo de destino que pode ser null se as operações existirem sem um modelo.

builder
MigrationCommandListBuilder

O construtor de comandos a ser usado para adicionar o fragmento sql.

Aplica-se a

SequenceOptions(CreateSequenceOperation, IModel, MigrationCommandListBuilder)

Gera um fragmento SQL configurando uma sequência em um CreateSequenceOperation.

protected virtual void SequenceOptions (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void SequenceOptions (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member SequenceOptions : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.SequenceOptions : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub SequenceOptions (operation As CreateSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)

Parâmetros

operation
CreateSequenceOperation

A operação.

model
IModel

O modelo de destino que pode ser null se as operações existirem sem um modelo.

builder
MigrationCommandListBuilder

O construtor de comandos a ser usado para adicionar o fragmento sql.

Aplica-se a

SequenceOptions(String, String, SequenceOperation, IModel, MigrationCommandListBuilder)

Gera um fragmento SQL configurando uma sequência com as opções fornecidas.

protected virtual void SequenceOptions (string schema, string name, Microsoft.EntityFrameworkCore.Migrations.Operations.SequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void SequenceOptions (string? schema, string name, Microsoft.EntityFrameworkCore.Migrations.Operations.SequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member SequenceOptions : string * string * Microsoft.EntityFrameworkCore.Migrations.Operations.SequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.SequenceOptions : string * string * Microsoft.EntityFrameworkCore.Migrations.Operations.SequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub SequenceOptions (schema As String, name As String, operation As SequenceOperation, model As IModel, builder As MigrationCommandListBuilder)

Parâmetros

schema
String

O esquema que contém a sequência ou null para usar o esquema padrão.

name
String

O nome da sequência.

operation
SequenceOperation

As opções de sequência.

model
IModel

O modelo de destino que pode ser null se as operações existirem sem um modelo.

builder
MigrationCommandListBuilder

O construtor de comandos a ser usado para adicionar o fragmento sql.

Aplica-se a

SequenceOptions(String, String, Int32, Nullable<Int64>, Nullable<Int64>, Boolean, IModel, MigrationCommandListBuilder)

Gera um fragmento SQL configurando uma sequência com as opções fornecidas.

protected virtual void SequenceOptions (string schema, string name, int increment, long? minimumValue, long? maximumValue, bool cycle, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member SequenceOptions : string * string * int * Nullable<int64> * Nullable<int64> * bool * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.SequenceOptions : string * string * int * Nullable<int64> * Nullable<int64> * bool * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub SequenceOptions (schema As String, name As String, increment As Integer, minimumValue As Nullable(Of Long), maximumValue As Nullable(Of Long), cycle As Boolean, model As IModel, builder As MigrationCommandListBuilder)

Parâmetros

schema
String

O esquema que contém a sequência ou null para usar o esquema padrão.

name
String

O nome da sequência.

increment
Int32

O valor a ser incrementado por para gerar o próximo valor na sequência.

minimumValue
Nullable<Int64>

O valor mínimo compatível com a sequência ou null se nenhum foi especificado.

maximumValue
Nullable<Int64>

O valor máximo com suporte pela sequência ou null se nenhum foi especificado.

cycle
Boolean

Indica se a sequência será iniciada novamente quando o valor máximo for atingido.

model
IModel

O modelo de destino que pode ser null se as operações existirem sem um modelo.

builder
MigrationCommandListBuilder

O construtor de comandos a ser usado para adicionar o fragmento sql.

Aplica-se a