Поделиться через


MetaAssociation.ThisKeyIsPrimaryKey Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets whether ThisKey forms the identity of this type.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property ThisKeyIsPrimaryKey As Boolean
public abstract bool ThisKeyIsPrimaryKey { get; }

Property Value

Type: System.Boolean
true if ThisKey forms the identity (primary key) of the association.

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.