/// <summary> /// Calls must handle concurrency control /// </summary> static void Rollback(ILog log) { // mark the session as ended before doing any rollback work Session.ID = Guid.Empty; Session.IsRollbackPending = false; Session.CloseConnections(log); log.Write("Aborting transaction"); Session.Transaction.Rollback(); Session.Transaction.Dispose(); Session.Transaction = null; }