Esempio n. 1
0
 /// <summary>
 ///     Discard changes in context (DiscardChanges) and, if there is an open transaction, do the Rollback as well.
 /// </summary>
 public void Rollback()
 {
     _context.DiscardChanges();
     _dbContextTransaction?.Rollback();
 }