API:Data.Bind.DBScope.TBaseDataLink
![TBaseDataLink](/images/Libraries/Tokyo/e/1/13/Data.Bind.DBScope.TBaseDataLink.png)
Delphi
TBaseDataLink = class(TDataLink)
C++
class PASCALIMPLEMENTATION TBaseDataLink : public Data::Db::TDataLink
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Data.Bind.DBScope.pas Data.Bind.DBScope.hpp |
Data.Bind.DBScope | Data.Bind.DBScope |
Description
TDataLink is a helper class used by data-aware objects to coordinate the actions of TDataSource and TDataSet, and to respond to data events.
Data.Bind.DBScope.TBaseDataLink inherits from Data.DB.TDataLink. All content below this line refers to Data.DB.TDataLink.
TDataLink is a helper class used by data-aware objects to coordinate the actions of TDataSource and TDataSet, and to respond to data events.
Use TDataLink or one of its descendants in any data-aware object that implements a DataSource property to represent its link to a dataset or that needs to respond to data events.
The constructor of the data-aware object should call the constructor of TDataLink, and initialize any relevant properties. The data-aware object can then link to a TDataSource by using the DataSource property of the TDataLink.
Data-aware objects that link to a single field in a dataset should use a TFieldDataLink instead.