Example #1
0
        public Crbankclearchkrun ClearCheckRun(Crbankclearchkrun crbankclearchkrun)
        {
            var result = new Crbankclearchkrun();

            var pdscrbankclearchkrun = new pdscrbankclearchkrunDataSet();

            DataRow ttblcrbankclearchkrunCriteria = pdscrbankclearchkrun.ttblcrbankclearchkrun.NewttblcrbankclearchkrunRow();

            Crbankclearchkrun.UpdateRowFromCrbankclearchkrun(ref ttblcrbankclearchkrunCriteria, crbankclearchkrun);
            pdscrbankclearchkrun.ttblcrbankclearchkrun.AddttblcrbankclearchkrunRow((pdscrbankclearchkrunDataSet.ttblcrbankclearchkrunRow)ttblcrbankclearchkrunCriteria);

            string cErrorMessage = string.Empty;


            NLogLoggerP.Trace("ClearCheckRun - Ascrsetup - Before Call");
            StopwatchUtil.Time(
                () =>
            {
                using (var poAscrsetupproxy = this.proxyAppObject.CreatePO_ascrsetupproxy())
                {
                    this.SetRequiredContextParameters();
                    poAscrsetupproxy.ClearCheckRun(ref pdsContext, ref pdscrbankclearchkrun, out cErrorMessage);
                }
            });
            NLogLoggerP.Info("ClearCheckRun - Ascrsetup - After Call");


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

            if (pdscrbankclearchkrun.ttblcrbankclearchkrun.Count > 0)
            {
                result = Crbankclearchkrun.BuildCrbankclearchkrunFromRow(pdscrbankclearchkrun.ttblcrbankclearchkrun[0]);
            }


            return(result);
        }
Example #2
0
 public Crbankclearchkrun ClearCheckRun(Crbankclearchkrun crbankclearchkrun)
 {
     return(this.adapter.ClearCheckRun(crbankclearchkrun));
 }
Example #3
0
 public Crbankclearchkrun ClearCheckRun(Crbankclearchkrun crbankclearchkrun)
 {
     return(this.repository.ClearCheckRun(crbankclearchkrun));
 }