On Fri, May 29, 2009 at 4:04 AM, Kent Larsson <[email protected]> wrote:
>> I try not to design my domain models in such a way
>
> Could you elaborate on this a bit, please?

I kind of "cheat" a bit.  When there needs to be something done that
involves multiple domain entities, I usually push that logic into a
"service" class rather than into the entities themselves.  For
operations solely involving an entity and its aggregated entities, I
usually put that into the entity class itself.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to