コード例 #1
0
 protected override void ExcuteSelf()
 {
     try
     {
         //删除报销单
         using (TransactionScope ts = new TransactionScope(TransactionScopeOption.Required))
         {
             _EmployeeReimburse.RemoveReimburseByReimburseID(_ReimburseID);
             //_DalReimburse.UpdateEmployeeReimburse(_EmployeeReimburse);
             _DalReimburse.DeleteReimburseByID(_ReimburseID);
             ts.Complete();
         }
     }
     catch
     {
         BllUtility.ThrowException(BllExceptionConst._DbError);
     }
 }