Esempio n. 1
0
        public Iciafetchprodresults ICIAFetchProduct(Iciafetchprodcriteria iciafetchprodcriteria)
        {
            var result = new Iciafetchprodresults();

            var pdsiciafetchprod = new pdsiciafetchprodDataSet();

            DataRow ttbliciafetchprodcriteriaCriteria = pdsiciafetchprod.ttbliciafetchprodcriteria.NewttbliciafetchprodcriteriaRow();

            Iciafetchprodcriteria.UpdateRowFromIciafetchprodcriteria(ref ttbliciafetchprodcriteriaCriteria, iciafetchprodcriteria);
            pdsiciafetchprod.ttbliciafetchprodcriteria.AddttbliciafetchprodcriteriaRow((pdsiciafetchprodDataSet.ttbliciafetchprodcriteriaRow)ttbliciafetchprodcriteriaCriteria);

            string cErrorMessage = string.Empty;


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


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

            if (pdsiciafetchprod.ttbliciafetchprodresults.Count > 0)
            {
                result = Iciafetchprodresults.BuildIciafetchprodresultsFromRow(pdsiciafetchprod.ttbliciafetchprodresults[0]);
            }


            return(result);
        }
Esempio n. 2
0
 public Iciafetchprodresults ICIAFetchProduct(Iciafetchprodcriteria iciafetchprodcriteria)
 {
     return(this.repository.ICIAFetchProduct(iciafetchprodcriteria));
 }
Esempio n. 3
0
 public Iciafetchprodresults ICIAFetchProduct(Iciafetchprodcriteria iciafetchprodcriteria)
 {
     return(this.adapter.ICIAFetchProduct(iciafetchprodcriteria));
 }