示例#1
0
        public Loadwtlinenonstockresults LoadWTLineNonstock(Loadwtlinenonstockcriteria loadwtlinenonstockcriteria)
        {
            var result = new Loadwtlinenonstockresults();

            var pdsloadwtlinenonstock = new pdsloadwtlinenonstockDataSet();

            DataRow ttblloadwtlinenonstockcriteriaCriteria = pdsloadwtlinenonstock.ttblloadwtlinenonstockcriteria.NewttblloadwtlinenonstockcriteriaRow();

            Loadwtlinenonstockcriteria.UpdateRowFromLoadwtlinenonstockcriteria(ref ttblloadwtlinenonstockcriteriaCriteria, loadwtlinenonstockcriteria);
            pdsloadwtlinenonstock.ttblloadwtlinenonstockcriteria.AddttblloadwtlinenonstockcriteriaRow((pdsloadwtlinenonstockDataSet.ttblloadwtlinenonstockcriteriaRow)ttblloadwtlinenonstockcriteriaCriteria);

            string cErrorMessage = string.Empty;


            NLogLoggerP.Trace("LoadWTLineNonstock - Aswtinquiry - Before Call");
            StopwatchUtil.Time(
                () =>
            {
                using (var poAswtinquiryproxy = this.proxyAppObject.CreatePO_aswtinquiryproxy())
                {
                    this.SetRequiredContextParameters();
                    poAswtinquiryproxy.LoadWTLineNonstock(ref pdsContext, ref pdsloadwtlinenonstock, out cErrorMessage);
                }
            });
            NLogLoggerP.Info("LoadWTLineNonstock - Aswtinquiry - After Call");


            this.ReportErrors(cErrorMessage);
            this.ReportErrors(this.pdsContext);
            this.ReportErrors(pdsloadwtlinenonstock);

            if (pdsloadwtlinenonstock.ttblloadwtlinenonstockresults.Count > 0)
            {
                result = Loadwtlinenonstockresults.BuildLoadwtlinenonstockresultsFromRow(pdsloadwtlinenonstock.ttblloadwtlinenonstockresults[0]);
            }


            return(result);
        }
示例#2
0
 public Loadwtlinenonstockresults LoadWTLineNonstock(Loadwtlinenonstockcriteria loadwtlinenonstockcriteria)
 {
     return(this.repository.LoadWTLineNonstock(loadwtlinenonstockcriteria));
 }
示例#3
0
 public Loadwtlinenonstockresults LoadWTLineNonstock(Loadwtlinenonstockcriteria loadwtlinenonstockcriteria)
 {
     return(this.adapter.LoadWTLineNonstock(loadwtlinenonstockcriteria));
 }