public bool CreateEQTradeDPAssociation(int tradeId, int dpId, int isDefault, int userId) { CustomerAccountDao customerAccountDao = new CustomerAccountDao(); bool bResult = false; try { bResult = customerAccountDao.CreateEQTradeDPAssociation(tradeId, dpId, isDefault, userId); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "CustomerAccountBo.cs:CreateEQTradeDPAssociation()"); object[] objects = new object[4]; objects[0] = tradeId; objects[1] = dpId; objects[2] = isDefault; objects[3] = userId; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(bResult); }