How can we use Data Annotations for models if the models are generated with 4.1 ADO.NET DbContext Generator or something else?
You can use a partial metadata class
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With