public override int SaveChanges()
 {
     try
     {
         return base.SaveChanges();
     }
     catch (DbEntityValidationException e)
     {
         var newException = new FormattedDbEntityValidationException(e);
         throw newException;
     }
 }
Esempio n. 2
0
 public override int SaveChanges()
 {
     try
     {
         return(base.SaveChanges());
     }
     catch (DbEntityValidationException e)
     {
         var newException = new FormattedDbEntityValidationException(e);
         throw newException;
     }
 }