aggregateroot

Domain Driven Design Aggregates

Can someone please clarify the following; if a have the following model; presentation-->slide-->video where I have identified presentation as the aggregate root, does this mean that if I want to add a slide to a presentation then I must go through the aggregate root e.g. presentation.addslide(slide myslide) and in a similar fashion if...

DDD: Aggregate Root -Design

Hello All, I have few questions here In an ordering system I am considering Order as Aggregate Root OrderLineItem belongs to Order. I can Ship the order to a End Customer or a Reseller Reseller can combine OrderLineItem from different orders and create a new Order and send to End Customer. While creating new order (from other orders...

How Can I Handle Concurrency with Persisted Calculated Properties in an Aggregate Root via NHibernate?

I have the need to persist a calculated property with an aggregate root. The calculation is based on child entities. I am using the root to add/remove the children via domain methods, and these methods update the calculate property. A child entity can be added to a particular root by multiple users of the system. For example, UserA can ...