Order / OrderLine
In a document db we store it as a single document because an order is the root aggregate and the order line cannot exist without an order.
It relates to other objects in the database in the sense that it may relate back to a User...
We hack together our "understood" objects to fit into a relational database.
Order / OrderLine
In a document db we store it as a single document because an order is the root aggregate and the order line cannot exist without an order.
It relates to other objects in the database in the sense that it may relate back to a User...
We hack together our "understood" objects to fit into a relational database.