Udostępnij za pośrednictwem


AddCheckConstraintOperation.CreateFrom(ICheckConstraint) Metoda

Definicja

Tworzy nowy AddCheckConstraintOperation element z określonego ograniczenia sprawdzania.

public static Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation CreateFrom (Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint checkConstraint);
static member CreateFrom : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint -> Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation
Public Shared Function CreateFrom (checkConstraint As ICheckConstraint) As AddCheckConstraintOperation

Parametry

checkConstraint
ICheckConstraint

Ograniczenie sprawdzania.

Zwraca

Operacja.

Dotyczy