I meant that if I have a repository, it doubles as factory for the entity it serves. As soon as I switch from data-driven to domain-driven in a project, the entities cannot be created by client code anymore because the repository then maps the AR DTO to the domain POCO.
-Markus 2009/1/6 hammett <[email protected]>: > > On Tue, Jan 6, 2009 at 11:54 AM, Markus Zywitza > <[email protected]> wrote: >> Creating entities in client code is a code smell in itself IMHO. > > huh? > > > -- > Cheers, > hammett > http://hammett.castleproject.org/ > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en -~----------~----~----~----~------~----~------~--~---
