public ArbchLookupResponseAPI Lookup(Arbchlookupcriteria arbchlookupcriteria) { var result = new ArbchLookupResponseAPI(); var pdsarbchchecklookup = new pdsarbchchecklookupDataSet(); DataRow ttblarbchlookupcriteriaCriteria = pdsarbchchecklookup.ttblarbchlookupcriteria.NewttblarbchlookupcriteriaRow(); Arbchlookupcriteria.UpdateRowFromArbchlookupcriteria(ref ttblarbchlookupcriteriaCriteria, arbchlookupcriteria); pdsarbchchecklookup.ttblarbchlookupcriteria.AddttblarbchlookupcriteriaRow((pdsarbchchecklookupDataSet.ttblarbchlookupcriteriaRow)ttblarbchlookupcriteriaCriteria); string cErrorMessage = string.Empty; bool lMoreRecords = false; NLogLoggerP.Trace("Lookup - Arbch - Before Call"); StopwatchUtil.Time( () => { using (var poArbchproxy = this.proxyAppObject.CreatePO_arbchproxy()) { this.SetRequiredContextParameters(); poArbchproxy.Lookup(ref pdsContext, ref pdsarbchchecklookup, out cErrorMessage, out lMoreRecords); } }); NLogLoggerP.Info("Lookup - Arbch - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsarbchchecklookup); foreach (DataRow row in pdsarbchchecklookup.ttblarbchlookupresults) { result.arbchlookupresults.Add(Arbchlookupresults.BuildArbchlookupresultsFromRow(row)); } result.lMoreRecords = lMoreRecords; return(result); }
public ArbchLookupResponseAPI Lookup(Arbchlookupcriteria arbchlookupcriteria) { return(this.repository.Lookup(arbchlookupcriteria)); }
public ArbchLookupResponseAPI Lookup(Arbchlookupcriteria arbchlookupcriteria) { return(this.adapter.Lookup(arbchlookupcriteria)); }