MSDN Library

AssociationAttribute.IsUnique Property

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

Namespace:  System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public bool IsUnique { get; set; }

Property Value

Type: System.Boolean
Default = false.

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

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

Show:
© 2016 Microsoft