Επεξεργασία

Κοινή χρήση μέσω


FieldTemplateUserControl.ForeignKeyColumn Property

Definition

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

public:
 property System::Web::DynamicData::MetaForeignKeyColumn ^ ForeignKeyColumn { System::Web::DynamicData::MetaForeignKeyColumn ^ get(); };
public System.Web.DynamicData.MetaForeignKeyColumn ForeignKeyColumn { get; }
[System.ComponentModel.Browsable(false)]
public System.Web.DynamicData.MetaForeignKeyColumn ForeignKeyColumn { get; }
member this.ForeignKeyColumn : System.Web.DynamicData.MetaForeignKeyColumn
[<System.ComponentModel.Browsable(false)>]
member this.ForeignKeyColumn : System.Web.DynamicData.MetaForeignKeyColumn
Public ReadOnly Property ForeignKeyColumn As MetaForeignKeyColumn

Property Value

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

Attributes

Exceptions

If the MetaForeignKeyColumn is not a foreign key column.

Remarks

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

Applies to