Use the entity diagram to define the relationships to be utilised in aggregates

Aggregates & Queries
On our radar
The User entity is automatically added to an aggregate that uses references such as UpdatedBy or CreatedBy the UserId in the User entity.

This automated behaviour is counter intuitive when using entities in an aggregate that all reference the User entity and the User entity is not required in the aggregate.
The inverse is also applicable when the User entity is required but the relevant links are not created for each entity that requires the link.
The entity diagram would then provide a definition of relationships to be used in the aggregates which are created in the espace.
Created on 1 Dec 2014
Comments (0)