IsUnique Property
Collapse the table of content
Expand the table of content

AssociationAttribute.IsUnique Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

'Declaration
Public Property IsUnique As Boolean

Property Value

Type: System.Boolean
Default = false.

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

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft