Data.DB.TDataSet.GetDetailDataSets

From RAD Studio API Documentation
Jump to: navigation, search

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 */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

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.

See Also