다음을 통해 공유


AddUniqueConstraintOperation.CreateFrom(IUniqueConstraint) 메서드

정의

지정된 고유 제약 조건에서 새 AddUniqueConstraintOperation 를 만듭니다.

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

매개 변수

uniqueConstraint
IUniqueConstraint

고유 제약 조건입니다.

반환

작업입니다.

적용 대상