Compartir a través de


AddUniqueConstraintOperation.CreateFrom(IUniqueConstraint) Método

Definición

Crea un nuevo AddUniqueConstraintOperation a partir de la restricción única especificada.

public static Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation CreateFrom (Microsoft.EntityFrameworkCore.Metadata.IUniqueConstraint uniqueConstraint);
static member CreateFrom : Microsoft.EntityFrameworkCore.Metadata.IUniqueConstraint -> Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation
Public Shared Function CreateFrom (uniqueConstraint As IUniqueConstraint) As AddUniqueConstraintOperation

Parámetros

uniqueConstraint
IUniqueConstraint

Restricción única.

Devoluciones

Operación.

Se aplica a