Generic Property Validator Class

Jun 28, 2010 at 12:41 PM
Edited Jun 29, 2010 at 6:49 AM

We have got around 100 entities . Most of the entities has properties that are mandatory fields and max length validation parameters Is it possible to make a generic property validation class who can do a validation based on the entity passed and its  properties(string array containing the property names) . In other words by passing the entity and the string array of properties whether PropertyValidation can be done . thanks Pramodh