IndexAttribute.IsUnique Property

Gets or sets a value that indicates whether the index is unique, in which no two rows are permitted to have the same index key value.

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


Public Property IsUnique As Boolean
public bool IsUnique { get; set; }

Property Value

Type: System.Boolean
true if the index is unique; otherwise, false.


For information about using a local database in your Windows Phone application, see Local Database Overview for Windows Phone.

Version Information

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.