Data.DB.TDataSet.GetDetailDataSets
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: public | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TDataSet |
Delphi
procedure GetDetailDataSets(List: TList<TDataSet>); overload; virtual;
procedure GetDetailDataSets(List: TList); overload; virtual; deprecated 'Use overloaded method instead';
C++
virtual void __fastcall GetDetailDataSets(System::Generics::Collections::TList__1<TDataSet*>* List)/* overload */;
virtual void __fastcall GetDetailDataSets _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::Classes::TList* List)/* overload */;
Description
Fills a list with a dataset for every detail dataset that is not the value of a nested dataset field.
Datasets can represent master/detail relationships in two ways: as linked cursors or as nested dataset fields. GetDetailDataSets lists all detail datasets of the active record into List if they are not the value of a nested dataset field. To obtain a list of the detail datasets that are the values of nested dataset fields, use the NestedDataSets property instead.