Ejemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="rmId"></param>
        /// <returns></returns>
        public DataSet GetRMCustomerList(int rmId)
        {
            DataSet         dsCustomerList  = new DataSet();
            AdvisorStaffDao advisorStaffDao = new AdvisorStaffDao();

            try
            {
                dsCustomerList = advisorStaffDao.GetRMCustomerListDataSet(rmId);
            }
            catch (BaseApplicationException Ex)
            {
                throw Ex;
            }
            catch (Exception Ex)
            {
                BaseApplicationException exBase       = new BaseApplicationException(Ex.Message, Ex);
                NameValueCollection      FunctionInfo = new NameValueCollection();

                FunctionInfo.Add("Method", "AdvisorStaffBo.cs:GetRMCustomerList()");

                object[] objects = new object[1];
                objects[0] = rmId;

                FunctionInfo = exBase.AddObject(FunctionInfo, objects);
                exBase.AdditionalInformation = FunctionInfo;
                ExceptionManager.Publish(exBase);
                throw exBase;
            }
            return(dsCustomerList);
        }