FireDAC.Comp.DataSet.TFDMasterDataLink
Delphi
TFDMasterDataLink = class(TMasterDataLink)
C++
class PASCALIMPLEMENTATION TFDMasterDataLink : public Data::Db::TMasterDataLink
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp |
FireDAC.Comp.DataSet | FireDAC.Comp.DataSet |
Description
TFDMasterDataLink controls master-detail link between two datasets.
The TFDMasterDataLink is a class controlling the master-detail link between two datasets. Each FireDAC dataset has the MasterLink public property. Use it to control the delayed refresh of detail dataset on master dataset scroll or update.
To turn on the delayed refresh, use the FetchOptions.DetailDelay property. Use DisableDelayedScroll/EnableDelayedScroll to temporarily disable the delayed detail dataset refresh and use the immediate refresh instead.
Use DisableScroll/EnableScroll to temporarily disable the detail dataset refresh.