public SasgmLookupResponseAPI Lookup(Sataxmasterlookupcriteria sataxmasterlookupcriteria) { var result = new SasgmLookupResponseAPI(); var pdssataxmasterlookup = new pdssataxmasterlookupDataSet(); DataRow ttblsataxmasterlookupcriteriaCriteria = pdssataxmasterlookup.ttblsataxmasterlookupcriteria.NewttblsataxmasterlookupcriteriaRow(); Sataxmasterlookupcriteria.UpdateRowFromSataxmasterlookupcriteria(ref ttblsataxmasterlookupcriteriaCriteria, sataxmasterlookupcriteria); pdssataxmasterlookup.ttblsataxmasterlookupcriteria.AddttblsataxmasterlookupcriteriaRow((pdssataxmasterlookupDataSet.ttblsataxmasterlookupcriteriaRow)ttblsataxmasterlookupcriteriaCriteria); string cErrorMessage = string.Empty; bool lMoreRecords = false; NLogLoggerP.Trace("Lookup - Sasgm - Before Call"); StopwatchUtil.Time( () => { using (var poSasgmproxy = this.proxyAppObject.CreatePO_sasgmproxy()) { this.SetRequiredContextParameters(); poSasgmproxy.Lookup(ref pdsContext, ref pdssataxmasterlookup, out cErrorMessage, out lMoreRecords); } }); NLogLoggerP.Info("Lookup - Sasgm - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdssataxmasterlookup); foreach (DataRow row in pdssataxmasterlookup.ttblsataxmasterlookupresults) { result.sataxmasterlookupresults.Add(Sataxmasterlookupresults.BuildSataxmasterlookupresultsFromRow(row)); } result.lMoreRecords = lMoreRecords; return(result); }
public SasgmLookupResponseAPI Lookup(Sataxmasterlookupcriteria sataxmasterlookupcriteria) { return(this.adapter.Lookup(sataxmasterlookupcriteria)); }
public SasgmLookupResponseAPI Lookup(Sataxmasterlookupcriteria sataxmasterlookupcriteria) { return(this.repository.Lookup(sataxmasterlookupcriteria)); }