ColumnProvider::IsForeignKeyComponent Property

 

Gets or sets a value that indicates whether the column is part of a foreign key.

Namespace:   System.Web.DynamicData.ModelProviders
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public:
property bool IsForeignKeyComponent {
	virtual bool get();
	protected: virtual void set(bool value);
}

Property Value

Type: System::Boolean

true if the column is part of a foreign key; otherwise, false.

This property is not set for strongly typed entity reference columns that are members of the table entity (a table object in the data model).

.NET Framework
Available since 3.5
Return to top
Show: