Hello,
I am going to use NHibernate Validator on my project. I have the
following example:
[Min(18, Message="You are to young!")]
public int Age
{
get { return age; }
set { age = value; }
}
How can I localize the error messages?
And can I create something like a ValidatorClass that validates a
class model?
For example: PostValidator would validate Post class.
This is just an idea ... could someone point me a proper way to
validate a model?
Thanks,
Miguel
P.S: Where can I download the Validator dll?
I went to http://www.nhibernate.org/index.html but the site
is down.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---