If you want to create a hierarchical data structure, e.g.
InvoiceDetail, you have to create relationships between entities. After specifying a relation, you have to specify keys for it.
|RelatedEntity||Points to the entity to which an entity has a relation.|
|IsSelfJoin||Deprecated. Do not use.|
When the relationship has multiple keys they are normally rendered as "
When set to True,
Indicates that the base entity is a parent and the entity we are relating to is a child. By setting it to True, the following attributes are activated:
Set IsParentChild only where child records are not linked to more than 1 parent. Otherwise you will get the "A child row has multiple parents" error after reading data to a data structure which contains this relation.
Example XML nesting if IsParentChild = False
Example XML nesting if IsParentChild = True