public AspoinquiryLoadPORetnAllocResponseAPI LoadPORetnAlloc(Loadporetnalloccriteria loadporetnalloccriteria) { var result = new AspoinquiryLoadPORetnAllocResponseAPI(); var pdsloadporetnalloc = new pdsloadporetnallocDataSet(); DataRow ttblloadporetnalloccriteriaCriteria = pdsloadporetnalloc.ttblloadporetnalloccriteria.NewttblloadporetnalloccriteriaRow(); Loadporetnalloccriteria.UpdateRowFromLoadporetnalloccriteria(ref ttblloadporetnalloccriteriaCriteria, loadporetnalloccriteria); pdsloadporetnalloc.ttblloadporetnalloccriteria.AddttblloadporetnalloccriteriaRow((pdsloadporetnallocDataSet.ttblloadporetnalloccriteriaRow)ttblloadporetnalloccriteriaCriteria); string cErrorMessage = string.Empty; NLogLoggerP.Trace("LoadPORetnAlloc - Aspoinquiry - Before Call"); StopwatchUtil.Time( () => { using (var poAspoinquiryproxy = this.proxyAppObject.CreatePO_aspoinquiryproxy()) { this.SetRequiredContextParameters(); poAspoinquiryproxy.LoadPORetnAlloc(ref pdsContext, ref pdsloadporetnalloc, out cErrorMessage); } }); NLogLoggerP.Info("LoadPORetnAlloc - Aspoinquiry - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsloadporetnalloc); foreach (DataRow row in pdsloadporetnalloc.ttblloadporetnallocresults) { result.loadporetnallocresults.Add(Loadporetnallocresults.BuildLoadporetnallocresultsFromRow(row)); } if (pdsloadporetnalloc.ttblloadporetnallocsingle.Count > 0) { result.loadporetnallocsingle = Loadporetnallocsingle.BuildLoadporetnallocsingleFromRow(pdsloadporetnalloc.ttblloadporetnallocsingle[0]); } return(result); }
public AspoinquiryLoadPORetnAllocResponseAPI LoadPORetnAlloc(Loadporetnalloccriteria loadporetnalloccriteria) { return(this.repository.LoadPORetnAlloc(loadporetnalloccriteria)); }