public GlsbLookupResponseAPI Lookup(Glbdgaccountlookupcriteria glbdgaccountlookupcriteria) { var result = new GlsbLookupResponseAPI(); var pdsglbdgaccountlookup = new pdsglbdgaccountlookupDataSet(); DataRow ttblglbdgaccountlookupcriteriaCriteria = pdsglbdgaccountlookup.ttblglbdgaccountlookupcriteria.NewttblglbdgaccountlookupcriteriaRow(); Glbdgaccountlookupcriteria.UpdateRowFromGlbdgaccountlookupcriteria(ref ttblglbdgaccountlookupcriteriaCriteria, glbdgaccountlookupcriteria); pdsglbdgaccountlookup.ttblglbdgaccountlookupcriteria.AddttblglbdgaccountlookupcriteriaRow((pdsglbdgaccountlookupDataSet.ttblglbdgaccountlookupcriteriaRow)ttblglbdgaccountlookupcriteriaCriteria); string cErrorMessage = string.Empty; bool lMoreRecords = false; NLogLoggerP.Trace("Lookup - Glsb - Before Call"); StopwatchUtil.Time( () => { using (var poGlsbproxy = this.proxyAppObject.CreatePO_glsbproxy()) { this.SetRequiredContextParameters(); poGlsbproxy.Lookup(ref pdsContext, ref pdsglbdgaccountlookup, out cErrorMessage, out lMoreRecords); } }); NLogLoggerP.Info("Lookup - Glsb - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsglbdgaccountlookup); foreach (DataRow row in pdsglbdgaccountlookup.ttblglbdgaccountlookupresults) { result.glbdgaccountlookupresults.Add(Glbdgaccountlookupresults.BuildGlbdgaccountlookupresultsFromRow(row)); } result.lMoreRecords = lMoreRecords; return(result); }
public GlsbLookupResponseAPI Lookup(Glbdgaccountlookupcriteria glbdgaccountlookupcriteria) { return(this.adapter.Lookup(glbdgaccountlookupcriteria)); }
public GlsbLookupResponseAPI Lookup(Glbdgaccountlookupcriteria glbdgaccountlookupcriteria) { return(this.repository.Lookup(glbdgaccountlookupcriteria)); }