AssociationAttribute::IsForeignKey Property

 

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)

public:
property bool IsForeignKey {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

Default = false.

No code example is currently available or this language may not be supported.

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