public AspoinquiryPOITCComponentOKResponseAPI POITCComponentOK(AspoinquiryPOITCComponentOKRequestAPI AspoinquiryPOITCComponentOKRequestAPI) { var result = new AspoinquiryPOITCComponentOKResponseAPI(); var pdspoitcheader = new pdspoitcheaderDataSet(); var pdspoitccomponent = new pdspoitccomponentDataSet(); string cErrorMessage = string.Empty; DataRow ttblpoitccomponentRow = pdspoitccomponent.ttblpoitccomponent.NewttblpoitccomponentRow(); Poitccomponent.UpdateRowFromPoitccomponent(ref ttblpoitccomponentRow, AspoinquiryPOITCComponentOKRequestAPI.poitccomponent); pdspoitccomponent.ttblpoitccomponent.AddttblpoitccomponentRow((pdspoitccomponentDataSet.ttblpoitccomponentRow)ttblpoitccomponentRow); DataRow ttblpoitcheaderRow = pdspoitcheader.ttblpoitcheader.NewttblpoitcheaderRow(); Poitcheader.UpdateRowFromPoitcheader(ref ttblpoitcheaderRow, AspoinquiryPOITCComponentOKRequestAPI.poitcheader); pdspoitcheader.ttblpoitcheader.AddttblpoitcheaderRow((pdspoitcheaderDataSet.ttblpoitcheaderRow)ttblpoitcheaderRow); NLogLoggerP.Trace("POITCComponentOK - Aspoinquiry - Before Call"); StopwatchUtil.Time( () => { using (var poAspoinquiryproxy = this.proxyAppObject.CreatePO_aspoinquiryproxy()) { this.SetRequiredContextParameters(); poAspoinquiryproxy.POITCComponentOK(ref pdsContext, ref pdspoitcheader, ref pdspoitccomponent, out cErrorMessage); } }); NLogLoggerP.Info("POITCComponentOK - Aspoinquiry - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdspoitcheader); if (pdspoitccomponent.ttblpoitccomponent.Count > 0) { result.poitccomponent = Poitccomponent.BuildPoitccomponentFromRow(pdspoitccomponent.ttblpoitccomponent[0]); } if (pdspoitcheader.ttblpoitcheader.Count > 0) { result.poitcheader = Poitcheader.BuildPoitcheaderFromRow(pdspoitcheader.ttblpoitcheader[0]); } return(result); }
public AspoinquiryPOITCComponentOKResponseAPI POITCComponentOK(AspoinquiryPOITCComponentOKRequestAPI AspoinquiryPOITCComponentOKRequestAPI) { return(this.repository.POITCComponentOK(AspoinquiryPOITCComponentOKRequestAPI)); }
public AspoinquiryPOITCComponentOKResponseAPI POITCComponentOK(AspoinquiryPOITCComponentOKRequestAPI AspoinquiryPOITCComponentOKRequestAPI) { return(this.adapter.POITCComponentOK(AspoinquiryPOITCComponentOKRequestAPI)); }