public IEnumerable <Samultlangxreflookupresults> Lookup(Samultlangxreflookupcriteria samultlangxreflookupcriteria) { var results = new List <Samultlangxreflookupresults>(); var pdssamultlangxreflookup = new pdssamultlangxreflookupDataSet(); DataRow ttblsamultlangxreflookupcriteriaCriteria = pdssamultlangxreflookup.ttblsamultlangxreflookupcriteria.NewttblsamultlangxreflookupcriteriaRow(); Samultlangxreflookupcriteria.UpdateRowFromSamultlangxreflookupcriteria(ref ttblsamultlangxreflookupcriteriaCriteria, samultlangxreflookupcriteria); pdssamultlangxreflookup.ttblsamultlangxreflookupcriteria.AddttblsamultlangxreflookupcriteriaRow((pdssamultlangxreflookupDataSet.ttblsamultlangxreflookupcriteriaRow)ttblsamultlangxreflookupcriteriaCriteria); string cErrorMessage = string.Empty; NLogLoggerP.Trace("Lookup - Sals - Before Call"); StopwatchUtil.Time( () => { using (var poSalsproxy = this.proxyAppObject.CreatePO_salsproxy()) { this.SetRequiredContextParameters(); poSalsproxy.Lookup(ref pdsContext, ref pdssamultlangxreflookup, out cErrorMessage); } }); NLogLoggerP.Info("Lookup - Sals - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdssamultlangxreflookup); foreach (DataRow row in pdssamultlangxreflookup.ttblsamultlangxreflookupresults) { results.Add(Samultlangxreflookupresults.BuildSamultlangxreflookupresultsFromRow(row)); } return(results); }
public IEnumerable <Samultlangxreflookupresults> Lookup(Samultlangxreflookupcriteria samultlangxreflookupcriteria) { return(this.adapter.Lookup(samultlangxreflookupcriteria)); }