Skip to content

Entity_Relation_Attributes - cEntity

Include: Use Db\cEntity.pkg

Returns all attributes for a relation.

Type: Function

Return data type: String[][]

Parameters

Parameter Type Description
iIndex Integer Zero-based relation number.

Syntax

Function Entity_Relation_Attributes Integer iIndex Returns String[][]

Call

Get Entity_Relation_Attributes of hoObj iIndex to aAttributes

Description

Returns all attributes for a zero-based relation as String[][]; each row is [attributeName, attributeValue]. Returned attribute names are metadata keys and should not be used to infer original source casing. Out-of-range relation arguments raise a DataFlex error.