Skip to content

DbEntityValidationException of Entity Framework

Manish Kumar

Asked Mar 17, 2016, 2:05 AM EDT2 answers
Share
LinkedInX
Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.
 
Code
public void Save()
        {
            _context.SaveChanges();
        }

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Saillesh Pawar
    0
    The input values are wrong according to the datatypes of db and check inner exception
    0
  • 0
    Thanks for your help.... there was a problem in the some of not null values in DB which I forget to mention in management. Finally solved .... thanks
    0