Esempio n. 1
0
 public void InsertException(Exception exception)
 {
     try
     {
         var errorEntity = exception.ToApplicationErrorEntity();
         _errorsTable.InsertOnSubmit(errorEntity);
         _context.SubmitChanges();
     }
     catch
     {
         // eat the exception, this is the end of it !!!
     }
 }
Esempio n. 2
0
 public void InsertException(Exception _exception)
 {
     var errorEntity = _exception.ToApplicationErrorEntity();
     _context.errors.InsertOnSubmit(errorEntity);
     _context.SubmitChanges();
 }