Compartir a través de


AddCheckConstraintOperation.CreateFrom(ICheckConstraint) Método

Definición

Crea un nuevo AddCheckConstraintOperation a partir de la restricción check especificada.

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

Parámetros

checkConstraint
ICheckConstraint

Restricción check.

Devoluciones

Operación.

Se aplica a