次の方法で共有


MigrationsSqlGenerator.CheckConstraint メソッド

定義

オーバーロード

CheckConstraint(AddCheckConstraintOperation, IModel, MigrationCommandListBuilder)

のチェック制約の SQL フラグメントを生成しますAddCheckConstraintOperation

CheckConstraint(CreateCheckConstraintOperation, IModel, MigrationCommandListBuilder)

のチェック制約の SQL フラグメントを生成しますCreateCheckConstraintOperation

CheckConstraint(AddCheckConstraintOperation, IModel, MigrationCommandListBuilder)

のチェック制約の SQL フラグメントを生成しますAddCheckConstraintOperation

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

パラメーター

operation
AddCheckConstraintOperation

操作。

model
IModel

モデル null のない操作が存在する場合のターゲット モデル。

builder
MigrationCommandListBuilder

SQL フラグメントの追加に使用するコマンド ビルダー。

適用対象

CheckConstraint(CreateCheckConstraintOperation, IModel, MigrationCommandListBuilder)

のチェック制約の SQL フラグメントを生成しますCreateCheckConstraintOperation

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

パラメーター

operation
CreateCheckConstraintOperation

操作。

model
IModel

モデル null のない操作が存在する場合のターゲット モデル。

builder
MigrationCommandListBuilder

SQL フラグメントの追加に使用するコマンド ビルダー。

適用対象