Data.DB.TMasterDataLink.Create

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: constructor
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TMasterDataLink

Delphi

constructor Create(DataSet: TDataSet);

C++

__fastcall TMasterDataLink(TDataSet* DataSet);

Description

Creates an instance of TMasterDataLink.

Call Create from the constructor of the dataset that uses TMasterDataLink to link to a master dataset. The dataset that uses the TMasterDataLink passes itself as the DataSet parameter.

Create associates the instance of TMasterDataLink with the dataset that owns it, and creates the helper objects it uses to manage the list of field components.

See Also