Apply Dynamic Rules

Aug 8, 2014 at 6:47 PM
Edited Aug 11, 2014 at 10:49 AM

I have a scenario, where the rules and column names are stored in DB.
These should be accessed dynamically. Is there any solution to apply the rules dynamically?

For example:

where Column1 is table's column and Rules is a comma separated string, which I can convert into a list and access.

I have thought of applying the Reflection by which I can dynamically use the column names using If,EndIf conditions of rulesEngine.

Is there any provision to create rules where validations can be applied on a fly?

Please provide a solution.

Thanks Much!