On Wed, Feb 11, 2009 at 5:41 PM, Fabio Maulo <[email protected]> wrote:

> 2009/2/11 Simone Busoli <[email protected]>
>
>> ...although.. this moves the validation logic out of the domain class,
>> which might not be very cool ;)
>
>
> It is very very cool for me.
> The entity is MINE!! without any kind of reference to other matters.
> I can validate it in different ways as I can persist it in different ways.
> ;)
>

Shouldn't validation be independent from persistence? I mean, you can change
the persistence mechanism, but the validation logic is the same.


> --
> Fabio Maulo
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NHibernate Contrib - Development Group" 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.ar/group/nhcdevs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to