On Tue, May 26, 2009 at 8:35 AM, Zihotki <[email protected]> wrote:

>
> Is there any sample of using custom validators which depends on data
> in database? For example a validator which checks whether the email of
> user is unique.


That I recall there isn't. But you can build your own custom validator and
make the database call in there.
http://nhforge.org/blogs/nhibernate/archive/2009/05/18/nhibernate-validator-quickstart.aspx


> And is this possible to use dependency injector with validators?


I don't know what do have in mind about this. There are plans/ideas to do
something around this topic.

-- 
Dario Quintana
http://darioquintana.com.ar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to