setChildTableReferences( )
- Last Updated: January 16, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Populates (child) reference property lists for specified ProDataObject
collections contained in this ProDataGraph, as specified by the overloaded
methods.
Syntax
|
- tableIdx
- Specifies the 0-based index into the list of temp-table names returned by the
getTableNames()method. (See getTableNames( ).) The specified temp-table (ProDataObjectcollection) corresponds to the parent table of a data-relation (ProDataRelationMetaDataobject) contained in theProDataGraph. - tableName
- Specifies the ABL name of a temp-table (
ProDataObjectcollection) contained in theProDataGraph. The specifiedProDataObjectcollection corresponds to the parent table of a data-relation (ProDataRelationMetaDataobject) contained in theProDataGraph.
If you do not specify tableIdx or tableName, the
method populates the reference property lists for all ProDataObject
collections involved as parent tables in data-relations contained in the
ProDataGraph.
You only need to call this method when building a ProDataGraph object that
contains data-relations, typically after adding one or more ProDataObject
instances that participate in data-relations contained in the ProDataGraph.
A reference property list is a list of references in a ProDataObject that
point to other ProDataObject instances contained by a single
ProDataObject collection that is a child table of the
ProDataObject containing the references. This parent
ProDataObject contains one reference property list for each
ProDataRelationMetaData that the ProDataObject is
involved in as a parent. For more information on the
ProDataRelationMetaData class, see ProDataRelationMetaData class.