FieldTemplateUserControl.ForeignKeyColumn Property

 

Gets the MetaForeignKeyColumn that is associated with a foreign key column.

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

[BrowsableAttribute(false)]
public MetaForeignKeyColumn ForeignKeyColumn { get; }

Property Value

Type: System.Web.DynamicData.MetaForeignKeyColumn

A column that represents a many-to-one relationship.

Exception Condition
Exception

If the MetaForeignKeyColumn is not a foreign key column.

This class converts the MetaColumn to a MetaForeignKeyColumn. The class throws an exception if MetaColumn is not a foreign key column.

.NET Framework
Available since 3.5
Return to top
Show: