Search Wiki:
Validation Application Block (http://download.manageddesigns.it/vab.aspx)

Overview
The Validation Application Block encapsulates the logic needed to implement the more common validation controls against domain model entities.
The Validation Application Block contains a set of attribute classes which defines constraints and rules to apply when validating entities instances. The developer can use the attributes to decorate entity public properties and fields, and invoke the included validation engine. Examples of available validation rules are:

  • Minimum length
  • Maximum length
  • Fixed length
  • Nullable
  • Regular Expression

All validation attributes are implemented extending a base class included in the application block: the set of rules also can be extended by the developer simply creating new derived classes. It is also available a set of simple unit tests in order to verify the application block (the test project requirest NUnit v2.2 or better)
Last edited Sep 26 2006 at 1:32 PM  by andysal, version 4
Comments
eug wrote  Jul 6 2007 at 8:58 AM  
Is it possible to set up validation rulesets in the database (instead of config files)?

Updating...