This is a migrated thread and some comments may be shown as answers.

How to bind EF DbContext EntityValidationErrors

0 Answers 68 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 23 Oct 2012, 02:26 PM
How can we bind EF EntityValidationErrors so the corresponding grid cells shows the errors?

Ex: When DbContext.SaveChanges() throws a DbEntityValidationException with ValidationErrors:
The CustomerId field is required.
The Currency field is required.


No answers yet. Maybe you can help?

Tags
GridView
Asked by
Peter
Top achievements
Rank 1
Share this question
or