public AsptxinquiryGetPTXTransLineDetailResponseAPI GetPTXTransLineDetail(Ptxtranslinedetailcriteria ptxtranslinedetailcriteria) { var result = new AsptxinquiryGetPTXTransLineDetailResponseAPI(); var pdsptxtranslinedetail = new pdsptxtranslinedetailDataSet(); DataRow ttblptxtranslinedetailcriteriaCriteria = pdsptxtranslinedetail.ttblptxtranslinedetailcriteria.NewttblptxtranslinedetailcriteriaRow(); Ptxtranslinedetailcriteria.UpdateRowFromPtxtranslinedetailcriteria(ref ttblptxtranslinedetailcriteriaCriteria, ptxtranslinedetailcriteria); pdsptxtranslinedetail.ttblptxtranslinedetailcriteria.AddttblptxtranslinedetailcriteriaRow((pdsptxtranslinedetailDataSet.ttblptxtranslinedetailcriteriaRow)ttblptxtranslinedetailcriteriaCriteria); string cErrorMessage = string.Empty; NLogLoggerP.Trace("GetPTXTransLineDetail - Asptxinquiry - Before Call"); StopwatchUtil.Time( () => { using (var poAsptxinquiryproxy = this.proxyAppObject.CreatePO_asptxinquiryproxy()) { this.SetRequiredContextParameters(); poAsptxinquiryproxy.GetPTXTransLineDetail(ref pdsContext, ref pdsptxtranslinedetail, out cErrorMessage); } }); NLogLoggerP.Info("GetPTXTransLineDetail - Asptxinquiry - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsptxtranslinedetail); foreach (DataRow row in pdsptxtranslinedetail.ttblptxtransdetailcomments) { result.ptxtransdetailcomments.Add(Ptxtransdetailcomments.BuildPtxtransdetailcommentsFromRow(row)); } foreach (DataRow row in pdsptxtranslinedetail.ttblptxtransdetline) { result.ptxtransdetline.Add(Ptxtransdetline.BuildPtxtransdetlineFromRow(row)); } return(result); }
public AsptxinquiryGetPTXTransLineDetailResponseAPI GetPTXTransLineDetail(Ptxtranslinedetailcriteria ptxtranslinedetailcriteria) { return(this.adapter.GetPTXTransLineDetail(ptxtranslinedetailcriteria)); }