This question is locked. New answers and comments are not allowed.
I've been looking at DataAnnotations in an MVC project which uses OpenAccess.
What's the best way to extend the generated classes to include the additional UI agnostic validation that DataAnnotations provide?
Something like this is the first thing off the top of my head as I've used a similar approach elsewhere
This approach loses the benefit of reverse mapping the data source though. Is there a better way to bake in the validation by extending OpenAccess somehow and is there any plans to support dataannotations in the openaccess roadmap?
Thanks in advance