Condividi tramite


AddCheckConstraintOperation.CreateFrom(ICheckConstraint) Metodo

Definizione

Crea un nuovo AddCheckConstraintOperation oggetto dal vincolo CHECK specificato.

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

Parametri

checkConstraint
ICheckConstraint

Vincolo CHECK.

Restituisce

Operazione.

Si applica a