FireDAC.Comp.DataSet.TFDDataSet.GetDetailLinkFields
Delphi
procedure GetDetailLinkFields(AMasterFields, ADetailFields: TFDFieldList); override;
C++
virtual void __fastcall GetDetailLinkFields(System::Generics::Collections::TList__1<Data::Db::TField*>* AMasterFields, System::Generics::Collections::TList__1<Data::Db::TField*>* 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); }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp |
FireDAC.Comp.DataSet | TFDDataSet |
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.