SetChildren

Sets the rows of a supplied, named parent/child relationship. If rows previously existed under this name, they will be returned to the caller.

Syntax

public List setChildren(String childName, List DataRows)

Parameters

None.

Results

Returns the set of the names of the named parent/child relationships.

Example

List rows = dataRow.getChildren("child1");
parentRow.setChildren("child2", rows);