SqlServerMigrationsSqlGenerator.SequenceOptions メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
SequenceOptions(String, String, SequenceOperation, IModel, MigrationCommandListBuilder) |
指定されたオプションを使用してシーケンスを構成する SQL フラグメントを生成します。 |
SequenceOptions(String, String, Int32, Nullable<Int64>, Nullable<Int64>, Boolean, IModel, MigrationCommandListBuilder) |
指定されたオプションを使用してシーケンスを構成する SQL フラグメントを生成します。 |
SequenceOptions(String, String, SequenceOperation, IModel, MigrationCommandListBuilder)
指定されたオプションを使用してシーケンスを構成する SQL フラグメントを生成します。
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)
パラメーター
- schema
- String
シーケンスを含むスキーマ、または null
既定のスキーマを使用するスキーマ。
- name
- String
シーケンス名。
- operation
- SequenceOperation
シーケンス オプション。
- model
- IModel
モデル null
のない操作が存在する場合のターゲット モデル。
- builder
- MigrationCommandListBuilder
SQL フラグメントの追加に使用するコマンド ビルダー。
適用対象
SequenceOptions(String, String, Int32, Nullable<Int64>, Nullable<Int64>, Boolean, IModel, MigrationCommandListBuilder)
指定されたオプションを使用してシーケンスを構成する SQL フラグメントを生成します。
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)
パラメーター
- schema
- String
シーケンスを含むスキーマ、または null
既定のスキーマを使用するスキーマ。
- name
- String
シーケンス名。
- increment
- Int32
シーケンス内の次の値を生成するためにインクリメントする量。
- cycle
- Boolean
最大値に達した後にシーケンスを再度開始するかどうかを示します。
- model
- IModel
モデル null
のない操作が存在する場合のターゲット モデル。
- builder
- MigrationCommandListBuilder
SQL フラグメントの追加に使用するコマンド ビルダー。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework