API:Data.DB.TMasterDataLink.Create
Delphi
constructor Create(DataSet: TDataSet);
C++
__fastcall TMasterDataLink(TDataSet* DataSet);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Data.DB.pas Data.DB.hpp |
Data.DB | TMasterDataLink |
Description
Creates an instance of TDataLink.
Data.DB.TMasterDataLink.Create inherits from Data.DB.TDataLink.Create. All content below this line refers to Data.DB.TDataLink.Create.
Creates an instance of TDataLink.
Create is called from the constructor of any data-aware object that uses a TDataLink to implement its DataSource property.
After calling the inherited constructor, Create initializes the BufferCount property to 1. Data-aware objects that use a TDataLink object to manage their link to a DataSource should change the BufferCount property to the number or records they represent, after calling the inherited constructor.