NHibernate.Validator Support

Oct 13, 2009 at 9:58 AM


I'm new to xVal (looks great by the way!)

I just wanted to ask what the situation with NHibernate.Validator support is...

As I understand it, there is no support for the current version of NH.V - is this right?  If so, any idea if/when this will be supported?

Thanks for your help!


Nov 2, 2009 at 6:18 PM

The new version of NHV breaks the xVal provider, but it's not too difficult to write your own that will work with the new NH Validator version.  I wrote a new one which you could just copy and use -- see my blog post here: http://weblogs.asp.net/srkirkland/archive/2009/11/02/an-xval-provider-for-nhibernate-validator.aspx