次の方法で共有


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

unique 制約。

戻り値

操作。

適用対象