次の方法で共有


AssociationAttribute.IsForeignKey Property

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

Gets or sets the member as the foreign key in an association representing a database relationship.

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

Syntax

'Declaration
Public Property IsForeignKey As Boolean
public bool IsForeignKey { get; set; }

Property Value

Type: System.Boolean
Default = false.

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.