Exemple #1
0
        public AsglentryGLEMBValueResponseAPI GLEMBValue(Glembcriteria glembcriteria)
        {
            var result = new AsglentryGLEMBValueResponseAPI();

            var pdsglembsearchupdate = new pdsglembsearchupdateDataSet();

            DataRow ttblglembcriteriaCriteria = pdsglembsearchupdate.ttblglembcriteria.NewttblglembcriteriaRow();

            Glembcriteria.UpdateRowFromGlembcriteria(ref ttblglembcriteriaCriteria, glembcriteria);
            pdsglembsearchupdate.ttblglembcriteria.AddttblglembcriteriaRow((pdsglembsearchupdateDataSet.ttblglembcriteriaRow)ttblglembcriteriaCriteria);

            decimal dOldValue     = 0;
            decimal dNewValue     = 0;
            string  cErrorMessage = string.Empty;
            bool    lMoreRecords  = false;


            NLogLoggerP.Trace("GLEMBValue - Asglentry - Before Call");
            StopwatchUtil.Time(
                () =>
            {
                using (var poAsglentryproxy = this.proxyAppObject.CreatePO_asglentryproxy())
                {
                    this.SetRequiredContextParameters();
                    poAsglentryproxy.GLEMBValue(ref pdsContext, pdsglembsearchupdate, out dOldValue, out dNewValue, out cErrorMessage, out lMoreRecords);
                }
            });
            NLogLoggerP.Info("GLEMBValue - Asglentry - After Call");


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

            result.dOldValue    = dOldValue;
            result.dNewValue    = dNewValue;
            result.lMoreRecords = lMoreRecords;

            return(result);
        }
Exemple #2
0
 public AsglentryGLEMBSearchResponseAPI GLEMBSearch(Glembcriteria glembcriteria)
 {
     return(this.repository.GLEMBSearch(glembcriteria));
 }
Exemple #3
0
 public AsglentryGLEMBValueResponseAPI GLEMBValue(Glembcriteria glembcriteria)
 {
     return(this.repository.GLEMBValue(glembcriteria));
 }
Exemple #4
0
 public AsglentryGLEMBUpdateResponseAPI GLEMBUpdate(Glembcriteria glembcriteria)
 {
     return(this.adapter.GLEMBUpdate(glembcriteria));
 }
Exemple #5
0
 public AsglentryGLEMBSearchResponseAPI GLEMBSearch(Glembcriteria glembcriteria)
 {
     return(this.adapter.GLEMBSearch(glembcriteria));
 }