Identifying the Relative Entities

A Relative Entity refers to an entity whose information needs to be processed before processing a child entity. Identifying Relative Entities involves the following steps:

In the example application, working through the above steps, it is clear that there is only one Relative Entity for the User Business Object Type. This Relative Entity is Category. This is because the attribute ToDo.categoryID has a foreign key relation to the entity Category. However, let's imagine that there is a Category Business Object Type which has Category as the Initial Entity; in this case, instead of Category being a Relative Entity, the User Business Object Type should declare the Category Business Object Type as a dependent Business Object Type.