I've seen similar discussions elsewhere but I'm far from being
convinced that is worth all the duplication and bloat of classes/loc.

Anyway, everyone has their own beliefs, and work with whatever feels
right. Fair enough.


On Tue, Jan 6, 2009 at 12:02 PM, Markus Zywitza
<[email protected]> wrote:
>
> 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/
>>
>> >
>>
>
> >
>



-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to