Пример #1
0
        public Wlitresults WLITReturnsPOUpdateStatus(AswlinquiryWLITReturnsPOUpdateStatusRequestAPI AswlinquiryWLITReturnsPOUpdateStatusRequestAPI)
        {
            var result = new Wlitresults();

            var pdswlitresults = new pdswlitresultsDataSet();

            string cErrorMessage = string.Empty;

            DataRow ttblwlitresultsRow = pdswlitresults.ttblwlitresults.NewttblwlitresultsRow();

            Wlitresults.UpdateRowFromWlitresults(ref ttblwlitresultsRow, AswlinquiryWLITReturnsPOUpdateStatusRequestAPI.wlitresults);
            pdswlitresults.ttblwlitresults.AddttblwlitresultsRow((pdswlitresultsDataSet.ttblwlitresultsRow)ttblwlitresultsRow);

            var pvStatustype = AswlinquiryWLITReturnsPOUpdateStatusRequestAPI.pvStatustype;


            NLogLoggerP.Trace("WLITReturnsPOUpdateStatus - Aswlinquiry - Before Call");
            StopwatchUtil.Time(
                () =>
            {
                using (var poAswlinquiryproxy = this.proxyAppObject.CreatePO_aswlinquiryproxy())
                {
                    this.SetRequiredContextParameters();
                    poAswlinquiryproxy.WLITReturnsPOUpdateStatus(ref pdsContext, pvStatustype, ref pdswlitresults, out cErrorMessage);
                }
            });
            NLogLoggerP.Info("WLITReturnsPOUpdateStatus - Aswlinquiry - After Call");


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

            if (pdswlitresults.ttblwlitresults.Count > 0)
            {
                result = Wlitresults.BuildWlitresultsFromRow(pdswlitresults.ttblwlitresults[0]);
            }


            return(result);
        }
Пример #2
0
 public Wlitresults WLITReturnsPOUpdateStatus(AswlinquiryWLITReturnsPOUpdateStatusRequestAPI AswlinquiryWLITReturnsPOUpdateStatusRequestAPI)
 {
     return(this.adapter.WLITReturnsPOUpdateStatus(AswlinquiryWLITReturnsPOUpdateStatusRequestAPI));
 }
Пример #3
0
 public Wlitresults WLITReturnsPOUpdateStatus(AswlinquiryWLITReturnsPOUpdateStatusRequestAPI AswlinquiryWLITReturnsPOUpdateStatusRequestAPI)
 {
     return(this.repository.WLITReturnsPOUpdateStatus(AswlinquiryWLITReturnsPOUpdateStatusRequestAPI));
 }