Doing entity validations at runtime
I was recently given a requirement to drive the entity attribute validations at runtime rather than at design time, with the following criteria.
- Ability to change fields to required at runtime.
- To be able to define validation message for field at runtime
- Define validations such as field must be numeric …