Compartir a través de


MigrationsSqlGenerator.SequenceOptions Método

Definición

Sobrecargas

SequenceOptions(AlterSequenceOperation, IModel, MigrationCommandListBuilder)

Genera un fragmento de SQL que configura una secuencia en .AlterSequenceOperation

SequenceOptions(CreateSequenceOperation, IModel, MigrationCommandListBuilder)

Genera un fragmento de SQL que configura una secuencia en .CreateSequenceOperation

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

Genera un fragmento de SQL que configura una secuencia con las opciones especificadas.

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

Genera un fragmento de SQL que configura una secuencia con las opciones especificadas.

SequenceOptions(AlterSequenceOperation, IModel, MigrationCommandListBuilder)

Genera un fragmento de SQL que configura una secuencia en .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

Operación.

model
IModel

Modelo de destino que puede ser null si las operaciones existen sin un modelo.

builder
MigrationCommandListBuilder

Generador de comandos que se va a usar para agregar el fragmento de SQL.

Se aplica a

SequenceOptions(CreateSequenceOperation, IModel, MigrationCommandListBuilder)

Genera un fragmento de SQL que configura una secuencia en .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

Operación.

model
IModel

Modelo de destino que puede ser null si las operaciones existen sin un modelo.

builder
MigrationCommandListBuilder

Generador de comandos que se va a usar para agregar el fragmento de SQL.

Se aplica a

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

Genera un fragmento de SQL que configura una secuencia con las opciones especificadas.

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

Esquema que contiene la secuencia o null para usar el esquema predeterminado.

name
String

Nombre de secuencia.

operation
SequenceOperation

Las opciones de secuencia.

model
IModel

Modelo de destino que puede ser null si las operaciones existen sin un modelo.

builder
MigrationCommandListBuilder

Generador de comandos que se va a usar para agregar el fragmento de SQL.

Se aplica a

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

Genera un fragmento de SQL que configura una secuencia con las opciones especificadas.

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

Esquema que contiene la secuencia o null para usar el esquema predeterminado.

name
String

Nombre de secuencia.

increment
Int32

Cantidad que se va a incrementar para generar el siguiente valor en la secuencia.

minimumValue
Nullable<Int64>

Valor mínimo admitido por la secuencia o null si no se especificó ninguno.

maximumValue
Nullable<Int64>

Valor máximo admitido por la secuencia o null si no se especificó ninguno.

cycle
Boolean

Indica si la secuencia se iniciará de nuevo una vez alcanzado el valor máximo.

model
IModel

Modelo de destino que puede ser null si las operaciones existen sin un modelo.

builder
MigrationCommandListBuilder

Generador de comandos que se va a usar para agregar el fragmento de SQL.

Se aplica a