public AspoinquiryPOIPBuildPOListResponseAPI POIPBuildPOList(Poipbuildpolistcriteria poipbuildpolistcriteria) { var result = new AspoinquiryPOIPBuildPOListResponseAPI(); var pdspoipbuildpolist = new pdspoipbuildpolistDataSet(); DataRow ttblpoipbuildpolistcriteriaCriteria = pdspoipbuildpolist.ttblpoipbuildpolistcriteria.NewttblpoipbuildpolistcriteriaRow(); Poipbuildpolistcriteria.UpdateRowFromPoipbuildpolistcriteria(ref ttblpoipbuildpolistcriteriaCriteria, poipbuildpolistcriteria); pdspoipbuildpolist.ttblpoipbuildpolistcriteria.AddttblpoipbuildpolistcriteriaRow((pdspoipbuildpolistDataSet.ttblpoipbuildpolistcriteriaRow)ttblpoipbuildpolistcriteriaCriteria); string cErrorMessage = string.Empty; bool lMoreRecords = false; NLogLoggerP.Trace("POIPBuildPOList - Aspoinquiry - Before Call"); StopwatchUtil.Time( () => { using (var poAspoinquiryproxy = this.proxyAppObject.CreatePO_aspoinquiryproxy()) { this.SetRequiredContextParameters(); poAspoinquiryproxy.POIPBuildPOList(ref pdsContext, ref pdspoipbuildpolist, out cErrorMessage, out lMoreRecords); } }); NLogLoggerP.Info("POIPBuildPOList - Aspoinquiry - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdspoipbuildpolist); foreach (DataRow row in pdspoipbuildpolist.ttblpoipbuildpolistresults) { result.poipbuildpolistresults.Add(Poipbuildpolistresults.BuildPoipbuildpolistresultsFromRow(row)); } result.lMoreRecords = lMoreRecords; return(result); }
public AspoinquiryPOIPSimpleSearchListResponseAPI POIPSimpleSearchList(AspoinquiryPOIPSimpleSearchListRequestAPI AspoinquiryPOIPSimpleSearchListRequestAPI) { var result = new AspoinquiryPOIPSimpleSearchListResponseAPI(); var pdspoipbuildpolist = new pdspoipbuildpolistDataSet(); string cErrorMessage = string.Empty; bool lMoreRecords = false; var iBatchSize = AspoinquiryPOIPSimpleSearchListRequestAPI.iBatchSize; var cSearchString = AspoinquiryPOIPSimpleSearchListRequestAPI.cSearchString; NLogLoggerP.Trace("POIPSimpleSearchList - Aspoinquiry - Before Call"); StopwatchUtil.Time( () => { using (var poAspoinquiryproxy = this.proxyAppObject.CreatePO_aspoinquiryproxy()) { this.SetRequiredContextParameters(); poAspoinquiryproxy.POIPSimpleSearchList(ref pdsContext, iBatchSize, cSearchString, out pdspoipbuildpolist, out cErrorMessage, out lMoreRecords); } }); NLogLoggerP.Info("POIPSimpleSearchList - Aspoinquiry - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdspoipbuildpolist); foreach (DataRow row in pdspoipbuildpolist.ttblpoipbuildpolistresults) { result.poipbuildpolistresults.Add(Poipbuildpolistresults.BuildPoipbuildpolistresultsFromRow(row)); } result.lMoreRecords = lMoreRecords; return(result); }