Adds the default field components to this adapter.
procedure AddDefaultFields(AComponents: TWebComponentList); override;
virtual __fastcall AddDefaultFields(TWebComponentList AComponents);
This method is called when the dataset adapter needs to generate the list of fields it supports by default (when you do not explicitly assign a set of fields to the adapter).
AComponents is an existing TWebComponentList object that this method fills with the default dataset fields.
AddDefaultFields iterates through the Fields and AggFields properties of the associated dataset, adding an adapter field component for each field. Each adapter field component is of type TDataSetAdapterField, TDataSetAdapterMemoField, or TDataSetAdapterImageField, depending on the data type of the corresponding dataset field.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!