DDD Which is the root Aggregate root?
问题 Lots of examples like order and order lines makes sense, like: Order is an AR that contains OrderLines Customer is an AR that contains Orders . Question is, what is the AR that contains Customer ? I guess it can be something like "shop". So, shop.AddCustomer(customer) ... but, how to get shop? If it's an AR (entity) it has an id, so shop.GetById(shopId) . If I only have one shop, how does this work with persistence? Should I have a table (shops) with one line? Shop is an in-memory object with