FireDAC.Comp.DataSet.TFDMasterDataLink.Create

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: constructor
Visibility: public
Source:
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
Unit: FireDAC.Comp.DataSet
Parent: TFDMasterDataLink

Delphi

constructor Create(ADataSet: TDataSet);

C++

__fastcall TFDMasterDataLink(Data::Db::TDataSet* ADataSet);

Description

Creates an instance of TMasterDataLink.

FireDAC.Comp.DataSet.TFDMasterDataLink.Create inherits from Data.DB.TMasterDataLink.Create. All content below this line refers to Data.DB.TMasterDataLink.Create.

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