I have a need to define validation rules in a database and have them loaded and applied at run time to my objects.
For example, in the database I would specify the property name, the rule, and (optionally) the value -- for example, property "MyString", rule "StringMaxLength", value 10.
Along those lines, I would also like to define dependencies between rules in the database as well (example: if the value of this one boolean property is True, then make sure the length of this other string property is a maximum of 30)
Has anyone done anything like this (CSLA 3.0.4)? any examples you'd like to share?