SqlServerMigrationsSqlGenerator.SequenceOptions Yöntem

Tanım

Aşırı Yüklemeler

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

Verilen seçeneklerle SQL yapılandıran bir parça oluşturulur.

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

Verilen seçeneklerle SQL yapılandıran bir parça oluşturulur.

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

Verilen seçeneklerle SQL yapılandıran bir parça oluşturulur.

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

Parametreler

schema
String

Sırayı içeren veya varsayılan null şemayı kullanmak için şema.

name
String

Sıra adı.

operation
SequenceOperation

Sıra seçenekleri.

model
IModel

İşlemler model null olmadan mevcutsa hedef model olabilir.

builder
MigrationCommandListBuilder

Veri parçasını eklemek için kullanabileceğiniz SQL oluşturucu.

Şunlara uygulanır

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

Verilen seçeneklerle SQL yapılandıran bir parça oluşturulur.

protected override void SequenceOptions (string schema, string name, int increment, long? minimumValue, long? maximumValue, bool cycle, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.SequenceOptions : string * string * int * Nullable<int64> * Nullable<int64> * bool * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides 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)

Parametreler

schema
String

Sırayı içeren şema veya varsayılan şemayı kullanmak için null.

name
String

Sıra adı.

increment
Int32

Dizide bir sonraki değeri oluşturmak için artırılır miktarı.

minimumValue
Nullable<Int64>

Sıra tarafından desteklenen en düşük değer veya belirtilmemişse null.

maximumValue
Nullable<Int64>

Sıra tarafından desteklenen maksimum değer veya belirtilmemişse null.

cycle
Boolean

En yüksek değere ulaşıldıktan sonra sıranın yeniden başlatıp başlatılamayacaklarını gösterir.

model
IModel

İşlemler model olmadan mevcutsa null olabilir hedef model.

builder
MigrationCommandListBuilder

Veri parçasını eklemek için kullanabileceğiniz SQL oluşturucu.

Şunlara uygulanır