共用方式為


ITable.UniqueConstraints 屬性

定義

取得唯一的條件約束,包括這個資料表的主鍵。

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IUniqueConstraint> UniqueConstraints { get; }
member this.UniqueConstraints : seq<Microsoft.EntityFrameworkCore.Metadata.IUniqueConstraint>
Public ReadOnly Property UniqueConstraints As IEnumerable(Of IUniqueConstraint)

屬性值

適用於