Example #1
0
        public IEnumerable <Loadexcptusagettresults> LoadExceptionUsageTT(Loadexcptusagettcriteria loadexcptusagettcriteria)
        {
            var results = new List <Loadexcptusagettresults>();

            var pdsloadexcptusagett = new pdsloadexcptusagettDataSet();

            DataRow ttblloadexcptusagettcriteriaCriteria = pdsloadexcptusagett.ttblloadexcptusagettcriteria.NewttblloadexcptusagettcriteriaRow();

            Loadexcptusagettcriteria.UpdateRowFromLoadexcptusagettcriteria(ref ttblloadexcptusagettcriteriaCriteria, loadexcptusagettcriteria);
            pdsloadexcptusagett.ttblloadexcptusagettcriteria.AddttblloadexcptusagettcriteriaRow((pdsloadexcptusagettDataSet.ttblloadexcptusagettcriteriaRow)ttblloadexcptusagettcriteriaCriteria);

            string cErrorMessage = string.Empty;


            NLogLoggerP.Trace("LoadExceptionUsageTT - Asicinquiry - Before Call");
            StopwatchUtil.Time(
                () =>
            {
                using (var poAsicinquiryproxy = this.proxyAppObject.CreatePO_asicinquiryproxy())
                {
                    this.SetRequiredContextParameters();
                    poAsicinquiryproxy.LoadExceptionUsageTT(ref pdsContext, ref pdsloadexcptusagett, out cErrorMessage);
                }
            });
            NLogLoggerP.Info("LoadExceptionUsageTT - Asicinquiry - After Call");


            this.ReportErrors(cErrorMessage);
            this.ReportErrors(this.pdsContext);
            this.ReportErrors(pdsloadexcptusagett);

            foreach (DataRow row in pdsloadexcptusagett.ttblloadexcptusagettresults)
            {
                results.Add(Loadexcptusagettresults.BuildLoadexcptusagettresultsFromRow(row));
            }
            return(results);
        }
Example #2
0
 public IEnumerable <Loadexcptusagettresults> LoadExceptionUsageTT(Loadexcptusagettcriteria loadexcptusagettcriteria)
 {
     return(this.repository.LoadExceptionUsageTT(loadexcptusagettcriteria));
 }