public IEnumerable <Glinquiryaccountresults> FetchAcctDetail(Glinquiryaccountcriteria glinquiryaccountcriteria) { var results = new List <Glinquiryaccountresults>(); var pdsglinquiryaccount = new pdsglinquiryaccountDataSet(); DataRow ttblglinquiryaccountcriteriaCriteria = pdsglinquiryaccount.ttblglinquiryaccountcriteria.NewttblglinquiryaccountcriteriaRow(); Glinquiryaccountcriteria.UpdateRowFromGlinquiryaccountcriteria(ref ttblglinquiryaccountcriteriaCriteria, glinquiryaccountcriteria); pdsglinquiryaccount.ttblglinquiryaccountcriteria.AddttblglinquiryaccountcriteriaRow((pdsglinquiryaccountDataSet.ttblglinquiryaccountcriteriaRow)ttblglinquiryaccountcriteriaCriteria); string cErrorMessage = string.Empty; NLogLoggerP.Trace("FetchAcctDetail - Asglinquiry - Before Call"); StopwatchUtil.Time( () => { using (var poAsglinquiryproxy = this.proxyAppObject.CreatePO_asglinquiryproxy()) { this.SetRequiredContextParameters(); poAsglinquiryproxy.FetchAcctDetail(ref pdsContext, ref pdsglinquiryaccount, out cErrorMessage); } }); NLogLoggerP.Info("FetchAcctDetail - Asglinquiry - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsglinquiryaccount); foreach (DataRow row in pdsglinquiryaccount.ttblglinquiryaccountresults) { results.Add(Glinquiryaccountresults.BuildGlinquiryaccountresultsFromRow(row)); } return(results); }
public IEnumerable <Glinquiryaccountresults> FetchAcctDetail(Glinquiryaccountcriteria glinquiryaccountcriteria) { return(this.adapter.FetchAcctDetail(glinquiryaccountcriteria)); }