DatabaseTable.UniqueConstraints 属性

定义

对表定义的唯一约束的列表。

public virtual System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseUniqueConstraint> UniqueConstraints { get; }
member this.UniqueConstraints : System.Collections.Generic.IList<Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseUniqueConstraint>
Public Overridable ReadOnly Property UniqueConstraints As IList(Of DatabaseUniqueConstraint)

属性值

适用于