/// <summary> /// /// </summary> /// <param name="i_sConnectionString"></param> /// <param name="i_nUserInfoId"></param> /// <param name="o_nReturnValue"></param> /// <param name="o_nErroCode"></param> /// <param name="o_sErrorMessage"></param> /// <returns></returns> public InsiderTradingDAL.TradingTransactionMasterDTO GetTradingTransactionMasterDetails(string i_sConnectionString, Int64 m_iTransactionMasterId) { InsiderTradingDAL.TradingTransactionMasterDTO res = null; try { //InsiderTradingDAL.TradingTransactionDAL objTradingTransactionDAL = new InsiderTradingDAL.TradingTransactionDAL(); using (var objTradingTransactionDAL = new InsiderTradingDAL.TradingTransactionDAL()) { res = objTradingTransactionDAL.GetTransactionMasterDetails(i_sConnectionString, m_iTransactionMasterId); } } catch (Exception exp) { throw exp; } return(res); }
/// <summary> /// /// </summary> /// <param name="i_sConnectionString"></param> /// <param name="i_nUserInfoId"></param> /// <param name="o_nReturnValue"></param> /// <param name="o_nErroCode"></param> /// <param name="o_sErrorMessage"></param> /// <returns></returns> public InsiderTradingDAL.TradingTransactionMasterDTO GetTradingTransactionMasterCreate(string i_sConnectionString, TradingTransactionMasterDTO objTradingTransactionMasterDTO, int i_nLoggedInUserId, out int o_iDisclosureCompletedFlag) { InsiderTradingDAL.TradingTransactionMasterDTO res = null; try { //InsiderTradingDAL.TradingTransactionDAL objTradingTransactionDAL = new InsiderTradingDAL.TradingTransactionDAL(); using (var objTradingTransactionDAL = new InsiderTradingDAL.TradingTransactionDAL()) { res = objTradingTransactionDAL.GetTransactionMasterCreate(i_sConnectionString, objTradingTransactionMasterDTO, i_nLoggedInUserId, out o_iDisclosureCompletedFlag); } } catch (Exception exp) { throw exp; } return(res); }