public PdsvLookupResponseAPI Lookup(Pdsvlookupcriteria pdsvlookupcriteria) { var result = new PdsvLookupResponseAPI(); var pdspdsvlookup = new pdspdsvlookupDataSet(); DataRow ttblpdsvlookupcriteriaCriteria = pdspdsvlookup.ttblpdsvlookupcriteria.NewttblpdsvlookupcriteriaRow(); Pdsvlookupcriteria.UpdateRowFromPdsvlookupcriteria(ref ttblpdsvlookupcriteriaCriteria, pdsvlookupcriteria); pdspdsvlookup.ttblpdsvlookupcriteria.AddttblpdsvlookupcriteriaRow((pdspdsvlookupDataSet.ttblpdsvlookupcriteriaRow)ttblpdsvlookupcriteriaCriteria); string cErrorMessage = string.Empty; bool lMoreRecords = false; NLogLoggerP.Trace("Lookup - Pdsv - Before Call"); StopwatchUtil.Time( () => { using (var poPdsvproxy = this.proxyAppObject.CreatePO_pdsvproxy()) { this.SetRequiredContextParameters(); poPdsvproxy.Lookup(ref pdsContext, ref pdspdsvlookup, out cErrorMessage, out lMoreRecords); } }); NLogLoggerP.Info("Lookup - Pdsv - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdspdsvlookup); foreach (DataRow row in pdspdsvlookup.ttblpdsvlookupresults) { result.pdsvlookupresults.Add(Pdsvlookupresults.BuildPdsvlookupresultsFromRow(row)); } result.lMoreRecords = lMoreRecords; return(result); }
public PdsvLookupResponseAPI Lookup(Pdsvlookupcriteria pdsvlookupcriteria) { return(this.repository.Lookup(pdsvlookupcriteria)); }
public PdsvLookupResponseAPI Lookup(Pdsvlookupcriteria pdsvlookupcriteria) { return(this.adapter.Lookup(pdsvlookupcriteria)); }