MetaAssociation.ThisKeyIsPrimaryKey Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets whether ThisKey forms the identity of this type.

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

public abstract bool ThisKeyIsPrimaryKey { get; }

Property Value

Type: System.Boolean

true if ThisKey forms the identity (primary key) of the association.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top