コード例 #1
0
ファイル: SettlingAccountBP.cs プロジェクト: GSIL-Monitor/BTP
 /// <summary>
 /// 获取当前商品结算列表
 /// </summary>
 /// <param name="search">商品结算价检索类</param>
 /// <param name="rowCount">记录数</param>
 /// <returns>结果</returns>
 public System.Collections.Generic.List <Jinher.AMP.BTP.Deploy.CustomDTO.SettlingAccountVM> GetNowSettlingAccount(Jinher.AMP.BTP.Deploy.CustomDTO.SettlingAccountSearchDTO search, out int rowCount)
 {
     base.Do();
     return(this.GetNowSettlingAccountExt(search, out rowCount));
 }
コード例 #2
0
        public System.Collections.Generic.List <Jinher.AMP.BTP.Deploy.CustomDTO.SettlingAccountVM> GetNowSettlingAccount(Jinher.AMP.BTP.Deploy.CustomDTO.SettlingAccountSearchDTO search, out int rowCount)
        {
            //定义返回值
            System.Collections.Generic.List <Jinher.AMP.BTP.Deploy.CustomDTO.SettlingAccountVM> result;

            try
            {
                //调用代理方法
                result = base.Channel.GetNowSettlingAccount(search, out rowCount);
            }
            catch
            {
                //抛异常
                throw;
            }
            finally
            {
                //关链接
                ChannelClose();
            }            //返回结果
            return(result);
        }