NHibernate Validator

Ayende has posted about the NHibernate Validator

I’ve been using a custom validator library (that uses attributes like this one).  However, seeing what the NHibernate validator provides, I’d stick with it – since the validation is called on save on the dev behalf.

Ayende also shows how to pull out the errors.

As per his post, you can read the documentation on the library for further information.

As always, good stuff from Ayende!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s