Muokkaa

Jaa


AssociationAttribute.IsUnique Property

Definition

Gets or sets the indication of a uniqueness constraint on the foreign key.

public:
 property bool IsUnique { bool get(); void set(bool value); };
public bool IsUnique { get; set; }
member this.IsUnique : bool with get, set
Public Property IsUnique As Boolean

Property Value

Default = false.

Remarks

When true, this property indicates a true 1:1 relationship.

Applies to