Validation in RavenDB

10/15/2012 2:20:06 PM

Define validation for entities and use RavenDBs IDocumentStoreListener to hook validation rules at a .SaveChanges() level.

This way there will be no need for manual validation calls. Validation are set up per class and defined once at startup.

http://ayende.com/blog/159042/handling-entities-validations-in-ravendb