Partilhar via


AddCheckConstraintOperation.CreateFrom(ICheckConstraint) Método

Definição

Cria um novo AddCheckConstraintOperation com base na restrição de marcar 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

A restrição marcar.

Retornos

A operação.

Aplica-se a