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)

Syntax

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

Property Value

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

Remarks

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

Platforms

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