user202448
user202448

Reputation: 2562

ASP.NET MVC3 - Data Annotations with EF Database First (ObjectContext, DbContext)

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

Answers (1)

MrLuje
MrLuje

Reputation: 637

You can use a partial metadata class

Upvotes: 15

Related Questions