共用方式為


CreateTableOperation.UniqueConstraints 屬性

定義

清單 AddUniqueConstraintOperation ,用於在資料表中建立唯一條件約束。

public virtual System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation> UniqueConstraints { get; }
member this.UniqueConstraints : System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation>
Public Overridable ReadOnly Property UniqueConstraints As List(Of AddUniqueConstraintOperation)

屬性值

適用於