DDD and Value Objects. Are mutable Value Objects a good candidate for Non Aggr. Root Entity?
- by Tony
Here is a little problem
Have an entity, with a value object. Not a problem. I replace a value object for a new one, then nhibernate inserts the new value and orphan the old one, then deletes it. Ok, that's a problem.
Insured is my entity in my domain.
He has a collection of Addresses (value objects). One of the addresses is the MailingAddress.…