Пример #1
0
        public int GetTopSeqNo(int Adviserid)
        {
            int SeqId;
            ProductgroupSetupDao PgDao = new ProductgroupSetupDao();

            try
            {
                SeqId = PgDao.GetTopSeqNo(Adviserid);
            }
            catch (BaseApplicationException Ex)
            {
                throw Ex;
            }
            catch (Exception Ex)
            {
                BaseApplicationException exBase       = new BaseApplicationException(Ex.Message, Ex);
                NameValueCollection      FunctionInfo = new NameValueCollection();
                FunctionInfo.Add("Method", "ProductgroupSetupBo.cs:GetTopSeqNo()");
                object[] objects = new object[1];

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