Udostępnij za pośrednictwem


MigrationsSqlGenerator.CheckConstraint Metoda

Definicja

Przeciążenia

CheckConstraint(AddCheckConstraintOperation, IModel, MigrationCommandListBuilder)

Generuje fragment SQL dla ograniczenia sprawdzania elementu AddCheckConstraintOperation.

CheckConstraint(CreateCheckConstraintOperation, IModel, MigrationCommandListBuilder)

Generuje fragment SQL dla ograniczenia sprawdzania elementu CreateCheckConstraintOperation.

CheckConstraint(AddCheckConstraintOperation, IModel, MigrationCommandListBuilder)

Źródło:
MigrationsSqlGenerator.cs
Źródło:
MigrationsSqlGenerator.cs
Źródło:
MigrationsSqlGenerator.cs
Źródło:
MigrationsSqlGenerator.cs
Źródło:
MigrationsSqlGenerator.cs

Generuje fragment SQL dla ograniczenia sprawdzania elementu 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)

Parametry

operation
AddCheckConstraintOperation

Operacja.

model
IModel

Model docelowy, który może mieć wartość null , jeśli operacje istnieją bez modelu.

builder
MigrationCommandListBuilder

Konstruktor poleceń używany do dodawania fragmentu SQL.

Dotyczy

CheckConstraint(CreateCheckConstraintOperation, IModel, MigrationCommandListBuilder)

Źródło:
MigrationsSqlGenerator.cs
Źródło:
MigrationsSqlGenerator.cs

Generuje fragment SQL dla ograniczenia sprawdzania elementu 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)

Parametry

operation
CreateCheckConstraintOperation

Operacja.

model
IModel

Model docelowy, który może mieć wartość null , jeśli operacje istnieją bez modelu.

builder
MigrationCommandListBuilder

Konstruktor poleceń używany do dodawania fragmentu SQL.

Dotyczy