Thanh wrote: What about creating the GUID or something unique in the base component, BusinessComponent, or right in the Entity if it's feasible, or something along the line?
What about creating the GUID or something unique in the base component, BusinessComponent, or right in the Entity if it's feasible, or something along the line?
Well, the problem is how to cascade the ID (or name) to the child entities. Let's say we placed an Order of three Items and we update the inventory. We will need to pass the ID of the Current user ID to the Order and Product Entity. But under Order, there is an OrderItems list and all the OrderItem entities in there will need to have the ID too.
So, I need to think how to allow the BC to perform cascade stamping of the ID.