Last active
December 7, 2016 13:59
-
-
Save nesticle8bit/8e26f149a4349a18d2d0feb9cc742b15 to your computer and use it in GitHub Desktop.
Revisar los errores de validación que tenga en Entity Framework
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ModelState.Values.SelectMany(v => v.Errors); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
((System.Data.Entity.Validation.DbEntityValidationException)$exception).EntityValidationErrors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment