asp core
Validation failed for one or more entities. See 'EntityValidationErrors' property for more details
A
Desh-Duniya Team
Author
You can do it from Visual Studio during debugging without writing any code, not even a catch block.
Just add a watch with the name:
((System.Data.Entity.Validation.DbEntityValidationException)$exception).EntityValidationErrors