MetaDataMember.Association Property

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

Gets the MetaAssociation that corresponds to this member.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property Association As MetaAssociation
public abstract MetaAssociation Association { get; }

Property Value

Type: System.Data.Linq.Mapping.MetaAssociation
The corresponding MetaAssociation if one exists; otherwise, nulla null reference (Nothing in Visual Basic).

Remarks

This property represents a database association like a foreign-key to primary-key relationship.

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.