public IEnumerable <Loadserialshistttresults> LoadSerialsHistoryTT(Loadserialshistttcriteria loadserialshistttcriteria) { var results = new List <Loadserialshistttresults>(); var pdsloadserialshisttt = new pdsloadserialshistttDataSet(); DataRow ttblloadserialshistttcriteriaCriteria = pdsloadserialshisttt.ttblloadserialshistttcriteria.NewttblloadserialshistttcriteriaRow(); Loadserialshistttcriteria.UpdateRowFromLoadserialshistttcriteria(ref ttblloadserialshistttcriteriaCriteria, loadserialshistttcriteria); pdsloadserialshisttt.ttblloadserialshistttcriteria.AddttblloadserialshistttcriteriaRow((pdsloadserialshistttDataSet.ttblloadserialshistttcriteriaRow)ttblloadserialshistttcriteriaCriteria); string cErrorMessage = string.Empty; NLogLoggerP.Trace("LoadSerialsHistoryTT - Asicwhseprod - Before Call"); StopwatchUtil.Time( () => { using (var poAsicwhseprodproxy = this.proxyAppObject.CreatePO_asicwhseprodproxy()) { this.SetRequiredContextParameters(); poAsicwhseprodproxy.LoadSerialsHistoryTT(ref pdsContext, ref pdsloadserialshisttt, out cErrorMessage); } }); NLogLoggerP.Info("LoadSerialsHistoryTT - Asicwhseprod - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsloadserialshisttt); foreach (DataRow row in pdsloadserialshisttt.ttblloadserialshistttresults) { results.Add(Loadserialshistttresults.BuildLoadserialshistttresultsFromRow(row)); } return(results); }
public IEnumerable <Loadserialshistttresults> LoadSerialsHistoryTT(Loadserialshistttcriteria loadserialshistttcriteria) { return(this.repository.LoadSerialsHistoryTT(loadserialshistttcriteria)); }