ComponentOne ADO.NET DataExtender
C1.C1DataExtender.2 Assembly / C1.C1DataExtender Namespace / C1ViewColumn Class / AutoFetchLookupTable Property

In This Topic
    AutoFetchLookupTable Property
    In This Topic
    Controls the autofetching behavior of this column foreign key lookup DataTable.
    Syntax
    'Declaration
     
    Public Property AutoFetchLookupTable As AutoFetchModeEnum
    public AutoFetchModeEnum AutoFetchLookupTable {get; set;}
    Remarks
    This property has an effect only if the column represents a foreign key DataColumn and its ColumnStyleBase.ItemListType property is assigned with ItemListTypeEnum.ForeignKey value.

    It allows to turn on (AutoFetchModeEnum.Yes) or off (AutoFetchModeEnum.No) automatic data fetching for foreign key lookup table of this column. If AutoFetch is set to AutoFetchModeEnum.Default (which is the default) then the effective value is determined by the AutoFetch property value of an owning C1DataView.

    See the Data Fetching topic for details.

    See Also