AddUniqueConstraintOperation.CreateFrom(IUniqueConstraint) Yöntem

Tanım

Belirtilen benzersiz kısıtlamadan yeni AddUniqueConstraintOperation bir oluşturur.

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

Parametreler

uniqueConstraint
IUniqueConstraint

Benzersiz kısıtlama.

Döndürülenler

İşlem.

Şunlara uygulanır