/// <summary> /// Rollback Transaction /// </summary> /// <param name="sessioninfo"></param> /// <param name="deal"></param> private static void RollbackTransaction(SessionInfo sessioninfo, DA_TRN deal) { DealBusiness _dealBusiness = new DealBusiness(); deal.EXT_DEAL_NO = null; deal.EXT_PORTFOLIO = null; deal.STATUS_ID = _lookupvaluesRepository.StatusRepository.GetByLabel(StatusCode.OPEN.ToString()).ID; deal.LOG.MODIFYBYUSERID = sessioninfo.CurrentUserId; deal.LOG.MODIFYDATE = DateTime.Now; //Update data _dealBusiness.Update(sessioninfo, deal); }