FireDAC.Comp.DataSet.TFDDataSet.GetDetailLinkFields

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
Unit: FireDAC.Comp.DataSet
Parent: TFDDataSet

Delphi

procedure GetDetailLinkFields(AMasterFields, ADetailFields: TFDFieldList); override;

C++

virtual void __fastcall GetDetailLinkFields(TFDFieldList* AMasterFields, TFDFieldList* ADetailFields)/* overload */;
inline void __fastcall  GetDetailLinkFields _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::Classes::TList* MasterFields, System::Classes::TList* DetailFields){ Data::Db::TDataSet::GetDetailLinkFields(MasterFields, DetailFields); }

Description

Lists the field objects that link this dataset as a detail of a master dataset.

GetDetailLinkFields fills the two lists with field objects that define a master-detail relationship between this dataset and the master dataset. The AMasterFields list is filled with fields from the master dataset, whose values must be equal to the values of the fields in the ADetailFields list. The ADetailFields list is filled with fields from this dataset.

See Also