MigrationsSqlGenerator.CheckConstraint Yöntem

Tanım

Aşırı Yüklemeler

CheckConstraint(AddCheckConstraintOperation, IModel, MigrationCommandListBuilder)

denetim kısıtlaması için bir AddCheckConstraintOperationSQL parçası oluşturur.

CheckConstraint(CreateCheckConstraintOperation, IModel, MigrationCommandListBuilder)

denetim kısıtlaması için bir CreateCheckConstraintOperationSQL parçası oluşturur.

CheckConstraint(AddCheckConstraintOperation, IModel, MigrationCommandListBuilder)

denetim kısıtlaması için bir AddCheckConstraintOperationSQL parçası oluşturur.

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)

Parametreler

operation
AddCheckConstraintOperation

İşlem.

model
IModel

İşlemlerin bir model olmadan mevcut olması null durumunda olabilecek hedef model.

builder
MigrationCommandListBuilder

SQL parçasını eklemek için kullanılacak komut oluşturucu.

Şunlara uygulanır

CheckConstraint(CreateCheckConstraintOperation, IModel, MigrationCommandListBuilder)

denetim kısıtlaması için bir CreateCheckConstraintOperationSQL parçası oluşturur.

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)

Parametreler

operation
CreateCheckConstraintOperation

İşlem.

model
IModel

İşlemlerin bir model olmadan mevcut olması null durumunda olabilecek hedef model.

builder
MigrationCommandListBuilder

SQL parçasını eklemek için kullanılacak komut oluşturucu.

Şunlara uygulanır