Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public Loadwtlinenonstockresults LoadWTLineNonstock(Loadwtlinenonstockcriteria loadwtlinenonstockcriteria)
 {
     return(this.repository.LoadWTLineNonstock(loadwtlinenonstockcriteria));
 }
Exemplo n.º 3
0
 public Loadwtlinenonstockresults LoadWTLineNonstock(Loadwtlinenonstockcriteria loadwtlinenonstockcriteria)
 {
     return(this.adapter.LoadWTLineNonstock(loadwtlinenonstockcriteria));
 }