Data Annotations validation Built into model
- by Josh
I want to build an object model that automatically wires in validation when I attempt to save an object. I am using DataAnnotations for my validation, and it all works well, but I think my inheritance is whacked. I am looking here for some guidance on a better way to wire in my validation.
So, to build in validation I have this interface
public…