title: How to handle System.Data.Entity.Validation.DbEntityValidationException
body: <p>I wrote this simple code to update my database column.</p>
  
  <pre><code>            using (HRMSEntities context = new HRMSEntities())
          {
              TBL_EMPLOYEE dataTicketInsert = new TBL_EMPLOYEE();
              dataTicketInsert = context.TBL_EMPLOYEE.Where(x =&gt; x.Id == inputEmployeeID).FirstOrDefault();
              dataTicketInsert.Ticket = ticketT;
              context.SaveChanges();
          }
  </code></pre>
  
  <p>Error Message:
  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.</p>
  
  <p>How can I resolve the problem?</p>