Data.DB.TMasterDataLink.Create

From RAD Studio API Documentation
Jump to: navigation, search

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 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