asp core

Validation failed for one or more entities. See 'EntityValidationErrors' property for more details

A
Desh-Duniya Team Author
| Published June 29, 2019

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

Discussion (0)

Please sign in to participate in the discussion.
No comments yet. Be the first to join the conversation!