I would like to kwnow if it possible for users to add validation rules at runtime. I have a system that will be sold to clients that could be anywhere in the world. So in some countries certain fields is required and in other those fields are not required. So i thought I would add functionality so that when i implement the system, the fields that needs to be validated could be set by me, without the need to add the data-annotations to the properties, then recompile the entire system.
It will be an ASP.NET MVC application using Entity Framework
regards
try fluentvalidation http://fluentvalidation.codeplex.com