Reputation: 2562
How can we use Data Annotations for models if the models are generated with 4.1 ADO.NET DbContext Generator or something else?
Upvotes: 7
Views: 8354
Reputation: 637
You can use a partial metadata class
Upvotes: 15