Esempio n. 1
0
        public Wtsaaddchg WTSALoad(Wtsaload wtsaload)
        {
            var result = new Wtsaaddchg();

            var pdswtsaload = new pdswtsaloadDataSet();

            var pdswtsaaddchg = new pdswtsaaddchgDataSet();

            DataRow ttblwtsaloadCriteria = pdswtsaload.ttblwtsaload.NewttblwtsaloadRow();

            Wtsaload.UpdateRowFromWtsaload(ref ttblwtsaloadCriteria, wtsaload);
            pdswtsaload.ttblwtsaload.AddttblwtsaloadRow((pdswtsaloadDataSet.ttblwtsaloadRow)ttblwtsaloadCriteria);

            string cErrorMessage = string.Empty;


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


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

            if (pdswtsaaddchg.ttblwtsaaddchg.Count > 0)
            {
                result = Wtsaaddchg.BuildWtsaaddchgFromRow(pdswtsaaddchg.ttblwtsaaddchg[0]);
            }


            return(result);
        }
Esempio n. 2
0
 public Wtsaaddchg WTSALoad(Wtsaload wtsaload)
 {
     return(this.repository.WTSALoad(wtsaload));
 }
Esempio n. 3
0
 public Wtsaaddchg WTSALoad(Wtsaload wtsaload)
 {
     return(this.adapter.WTSALoad(wtsaload));
 }