Example #1
0
        public void PTXQueueStatusChange(AsptxentryPTXQueueStatusChangeRequestAPI AsptxentryPTXQueueStatusChangeRequestAPI)
        {
            var pdsptxqueuedelete = new pdsptxqueuedeleteDataSet();

            string cErrorMessage = string.Empty;

            foreach (var obj in AsptxentryPTXQueueStatusChangeRequestAPI.ptxqueuedeletecriteria)
            {
                DataRow ttblptxqueuedeletecriteriaRow = pdsptxqueuedelete.ttblptxqueuedeletecriteria.NewttblptxqueuedeletecriteriaRow();
                Ptxqueuedeletecriteria.UpdateRowFromPtxqueuedeletecriteria(ref ttblptxqueuedeletecriteriaRow, obj);
                pdsptxqueuedelete.ttblptxqueuedeletecriteria.AddttblptxqueuedeletecriteriaRow((pdsptxqueuedeleteDataSet.ttblptxqueuedeletecriteriaRow)ttblptxqueuedeletecriteriaRow);
            }

            var cStatusTy = AsptxentryPTXQueueStatusChangeRequestAPI.cStatusTy;


            NLogLoggerP.Trace("PTXQueueStatusChange - Asptxentry - Before Call");
            StopwatchUtil.Time(
                () =>
            {
                using (var poAsptxentryproxy = this.proxyAppObject.CreatePO_asptxentryproxy())
                {
                    this.SetRequiredContextParameters();
                    poAsptxentryproxy.PTXQueueStatusChange(ref pdsContext, pdsptxqueuedelete, cStatusTy, out cErrorMessage);
                }
            });
            NLogLoggerP.Info("PTXQueueStatusChange - Asptxentry - After Call");


            this.ReportErrors(cErrorMessage);
            this.ReportErrors(this.pdsContext);
            this.ReportErrors(pdsptxqueuedelete);
        }
Example #2
0
 public void PTXQueueStatusChange(AsptxentryPTXQueueStatusChangeRequestAPI AsptxentryPTXQueueStatusChangeRequestAPI)
 {
     this.adapter.PTXQueueStatusChange(AsptxentryPTXQueueStatusChangeRequestAPI);
 }
Example #3
0
 public void PTXQueueStatusChange(AsptxentryPTXQueueStatusChangeRequestAPI AsptxentryPTXQueueStatusChangeRequestAPI)
 {
     this.repository.PTXQueueStatusChange(AsptxentryPTXQueueStatusChangeRequestAPI);
 }