Sprache

MigrationsSqlGenerator.CheckConstraint Methode

Definition

Überlädt

Name Beschreibung
CheckConstraint(AddCheckConstraintOperation, IModel, MigrationCommandListBuilder)

Generiert ein SQL-Fragment für eine Check-Einschränkung einer AddCheckConstraintOperation.

CheckConstraint(CreateCheckConstraintOperation, IModel, MigrationCommandListBuilder)

Generiert ein SQL-Fragment für eine Check-Einschränkung einer CreateCheckConstraintOperation.

CheckConstraint(AddCheckConstraintOperation, IModel, MigrationCommandListBuilder)

Quelle:
MigrationsSqlGenerator.cs
Quelle:
MigrationsSqlGenerator.cs
Quelle:
MigrationsSqlGenerator.cs
Quelle:
MigrationsSqlGenerator.cs
Quelle:
MigrationsSqlGenerator.cs
Quelle:
MigrationsSqlGenerator.cs
Quelle:
MigrationsSqlGenerator.cs

Generiert ein SQL-Fragment für eine Check-Einschränkung einer 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)

Parameter

operation
AddCheckConstraintOperation

Der Vorgang.

model
IModel

Das Zielmodell, das sein null kann, wenn die Vorgänge ohne Modell vorhanden sind.

builder
MigrationCommandListBuilder

Der Befehls-Generator, der zum Hinzufügen des SQL-Fragments verwendet werden soll.

Gilt für:

CheckConstraint(CreateCheckConstraintOperation, IModel, MigrationCommandListBuilder)

Quelle:
MigrationsSqlGenerator.cs
Quelle:
MigrationsSqlGenerator.cs

Generiert ein SQL-Fragment für eine Check-Einschränkung einer 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)

Parameter

operation
CreateCheckConstraintOperation

Der Vorgang.

model
IModel

Das Zielmodell, das sein null kann, wenn die Vorgänge ohne Modell vorhanden sind.

builder
MigrationCommandListBuilder

Der Befehls-Generator, der zum Hinzufügen des SQL-Fragments verwendet werden soll.

Gilt für: