Today i got an error on saving data to db using EF.
An exception of type ‘System.Data.Entity.Validation.DbEntityValidationException’ occurred in EntityFramework.dll but was not handled in user code
Additional information: Validation failed for one or more entities. See ‘EntityValidationErrors’ property for more details.
but I can’t find out what are the failed validations.
No more details in quick watch. I stucked a little. At this time i find out the use of $exception.
That is a special debugger variable. You cannot access it via code.
https://msdn.microsoft.com/en-us/library/ms164891.aspx
look $exception in quickwatch.