Fortunately, there is an easy fix if you are running in the debugger. To get EF to cough up the EntityValidationErrors, simply create a new watch with the following:
((System.Data.Entity.Validation.DbEntityValidationException)$exception).EntityValidationErrors
No comments:
Post a Comment