DataRelation Class
creates a DataRelation
Constructor
DataRelation
(
DataRelation
-
relationName -
parentTableName -
parentColsName -
childTableName -
[childColsName=parentColsName]
Parameters:
Returns:
Item Index
Properties
Methods
getChild
(
ObjectRow[]
-
parentRow
Get any child of a given ObjectRow following this DataRelation
Parameters:
-
parentRowObjectRow
Returns:
getChildFilter
(
-
parentRow -
[alias]
Gets a filter that will be applied to the child table and will find any child row of a given ObjectRow
getParents
(
ObjectRow[]
-
childRow
Get any parent of a given ObjectRow following this DataRelation
Parameters:
-
childRowObjectRow
Returns:
getParentsFilter
(
-
childRow -
[alias]
Gets a filter that will be applied to the parent table and will find any parent row of a given ObjectRow
isEntityRelation
()
Boolean
Establish if a relation links the key of a table into a subset of another table key
Returns:
Properties
dataSet
DataSet
DataSet to which this DataRelation belongs to. It is used to retrieve parent and child table
