On a whole class approach. I created a class with a less restrictive property data sizes with the same property names as a more restrictive target class to validate against. Inside a try catch set each matching property. It will catch on which properties fail with a specific property error. This should work with the new dynamic objects instead of the less restrictive class approach.
- Log in to post comments