Share via


DatabaseTable.UniqueConstraints Property

Definition

The list of unique constraints defined on the table.

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)

Property Value

Applies to