Exemple #1
0
        public Icipfetchtrendresults ICIPFetchTrend(Icipfetchtrendcriteria icipfetchtrendcriteria)
        {
            var result = new Icipfetchtrendresults();

            var pdsicipfetchtrend = new pdsicipfetchtrendDataSet();

            DataRow ttblicipfetchtrendcriteriaCriteria = pdsicipfetchtrend.ttblicipfetchtrendcriteria.NewttblicipfetchtrendcriteriaRow();

            Icipfetchtrendcriteria.UpdateRowFromIcipfetchtrendcriteria(ref ttblicipfetchtrendcriteriaCriteria, icipfetchtrendcriteria);
            pdsicipfetchtrend.ttblicipfetchtrendcriteria.AddttblicipfetchtrendcriteriaRow((pdsicipfetchtrendDataSet.ttblicipfetchtrendcriteriaRow)ttblicipfetchtrendcriteriaCriteria);

            string cErrorMessage = string.Empty;


            NLogLoggerP.Trace("ICIPFetchTrend - Asicwhseprod - Before Call");
            StopwatchUtil.Time(
                () =>
            {
                using (var poAsicwhseprodproxy = this.proxyAppObject.CreatePO_asicwhseprodproxy())
                {
                    this.SetRequiredContextParameters();
                    poAsicwhseprodproxy.ICIPFetchTrend(ref pdsContext, ref pdsicipfetchtrend, out cErrorMessage);
                }
            });
            NLogLoggerP.Info("ICIPFetchTrend - Asicwhseprod - After Call");


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

            if (pdsicipfetchtrend.ttblicipfetchtrendresults.Count > 0)
            {
                result = Icipfetchtrendresults.BuildIcipfetchtrendresultsFromRow(pdsicipfetchtrend.ttblicipfetchtrendresults[0]);
            }


            return(result);
        }
Exemple #2
0
 public Icipfetchtrendresults ICIPFetchTrend(Icipfetchtrendcriteria icipfetchtrendcriteria)
 {
     return(this.repository.ICIPFetchTrend(icipfetchtrendcriteria));
 }
Exemple #3
0
 public Icipfetchtrendresults ICIPFetchTrend(Icipfetchtrendcriteria icipfetchtrendcriteria)
 {
     return(this.adapter.ICIPFetchTrend(icipfetchtrendcriteria));
 }