Partager via


MetaAssociation.OtherKeyIsPrimaryKey Property

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

Gets whether the OtherKey forms the identity of the other type.

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

Syntax

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

Property Value

Type: System.Boolean
true if the OtherKey forms the identity (primary key) of the other type.

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.