コード例 #1
0
        /* End */


        /* Branc Dropdown For BM */

        public DataTable GetRMListForBranchDP(int branchId, int branchHeadId, int all)
        {
            DataTable       dtBranchRMList;
            AdvisorStaffDao advisorStaffDao = new AdvisorStaffDao();

            try
            {
                dtBranchRMList = advisorStaffDao.GetRMListForBranchDP(branchId, branchHeadId, all);
            }
            catch (BaseApplicationException Ex)
            {
                throw Ex;
            }
            catch (Exception Ex)
            {
                BaseApplicationException exBase       = new BaseApplicationException(Ex.Message, Ex);
                NameValueCollection      FunctionInfo = new NameValueCollection();
                FunctionInfo.Add("Method", "AdvisorStaffBo.cs:GetBranchRMList()");
                object[] objects = new object[2];
                objects[0]   = branchId;
                objects[1]   = branchHeadId;
                objects[2]   = all;
                FunctionInfo = exBase.AddObject(FunctionInfo, objects);
                exBase.AdditionalInformation = FunctionInfo;
                ExceptionManager.Publish(exBase);
                throw exBase;
            }
            return(dtBranchRMList);
        }