IndexAttribute.IsUnique Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
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
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 for Windows Phone 8.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0