If you want to create a hierarchical data structure, e.g. Invoice with InvoiceDetail, you need to create relationships between entities. After specifying a relationship, you need to specify keys for it.
Attributes
RelatedEntity | Points to the entity to which an entity has a relation. |
---|---|
IsSelfJoin | Deprecated. Do not use. |
IsOr | When the relationship has multiple keys they are normally rendered as " When set to True, |
IsParentChild | 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:
Warning
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 |