public SasjLookupResponseAPI Lookup(Journallookupcriteria journallookupcriteria) { var result = new SasjLookupResponseAPI(); var pdsjournallookup = new pdsjournallookupDataSet(); DataRow ttbljournallookupcriteriaCriteria = pdsjournallookup.ttbljournallookupcriteria.NewttbljournallookupcriteriaRow(); Journallookupcriteria.UpdateRowFromJournallookupcriteria(ref ttbljournallookupcriteriaCriteria, journallookupcriteria); pdsjournallookup.ttbljournallookupcriteria.AddttbljournallookupcriteriaRow((pdsjournallookupDataSet.ttbljournallookupcriteriaRow)ttbljournallookupcriteriaCriteria); string cErrorMessage = string.Empty; bool lMoreRecords = false; NLogLoggerP.Trace("Lookup - Sasj - Before Call"); StopwatchUtil.Time( () => { using (var poSasjproxy = this.proxyAppObject.CreatePO_sasjproxy()) { this.SetRequiredContextParameters(); poSasjproxy.Lookup(ref pdsContext, ref pdsjournallookup, out cErrorMessage, out lMoreRecords); } }); NLogLoggerP.Info("Lookup - Sasj - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsjournallookup); foreach (DataRow row in pdsjournallookup.ttbljournallookupresults) { result.journallookupresults.Add(Journallookupresults.BuildJournallookupresultsFromRow(row)); } result.lMoreRecords = lMoreRecords; return(result); }
public SasjLookupResponseAPI Lookup(Journallookupcriteria journallookupcriteria) { return(this.repository.Lookup(journallookupcriteria)); }
public SasjLookupResponseAPI Lookup(Journallookupcriteria journallookupcriteria) { return(this.adapter.Lookup(journallookupcriteria)); }