RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapter.GetMasterDetailAdapters Method

Returns a list of all dataset adapters, including this one, linked to this adapter in a master/detail relationship.

Pascal
function GetMasterDetailAdapters: TComponentList;
C++
__fastcall TComponentList GetMasterDetailAdapters();

GetMasterDetailAdapters allocates a new TComponentList object and fills it with every dataset adapter that is linked to this one in a master/detail relationship. The adapters are listed from the top-level adapter down, using a depth-first search. 

DataSetAdapters use the returned list internally to guide processes that include all datasets linked to this one in a master/detail relationship.

Note: It is the callers responsibility to free the component list that this method returns.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!