示例#1
0
 public ResultStatus LoadESigDetails(
     BonusReasonMaint bonusReasonMaint,
     BonusReasonMaint_Request request,
     out BonusReasonMaint_Result result)
 {
     return(this.LoadESigDetails(bonusReasonMaint, (BonusReasonMaint_LoadESigDetails_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus Freeze(
     BonusReasonMaint bonusReasonMaint,
     BonusReasonMaint_Request request,
     out BonusReasonMaint_Result result)
 {
     return(this.Freeze(bonusReasonMaint, (BonusReasonMaint_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus GetWIPMsgs(
     BonusReasonMaint bonusReasonMaint,
     BonusReasonMaint_Request request,
     out BonusReasonMaint_Result result)
 {
     return(this.GetWIPMsgs(bonusReasonMaint, (BonusReasonMaint_Parameters)null, request, out result));
 }
示例#4
0
 public ResultStatus GetEnvironment(
     BonusReasonMaint cdo,
     BonusReasonMaint_Request request,
     out BonusReasonMaint_Result result)
 {
     result = (BonusReasonMaint_Result)null;
     try
     {
         return(((IBonusReasonMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#5
0
 public ResultStatus CommitTransaction(
     BonusReasonMaint_Request request,
     out BonusReasonMaint_Result result)
 {
     result = (BonusReasonMaint_Result)null;
     try
     {
         BonusReasonMaintMethod[] methods = new BonusReasonMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IBonusReasonMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#6
0
        public ResultStatus ExecuteTransaction(
            BonusReasonMaint cdo,
            BonusReasonMaint_Request request,
            out BonusReasonMaint_Result result)
        {
            result = (BonusReasonMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IBonusReasonMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new BonusReasonMaintMethod(cdo, BonusReasonMaintMethods.ExecuteTransaction, (BonusReasonMaint_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(ExecuteTransaction), res, (DCObject)cdo, (Parameters)null, (Request)request, (Result)result);
            }
            return(res);
        }
示例#7
0
        public ResultStatus Freeze(
            BonusReasonMaint bonusReasonMaint,
            BonusReasonMaint_Parameters parameters,
            BonusReasonMaint_Request request,
            out BonusReasonMaint_Result result)
        {
            result = (BonusReasonMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)bonusReasonMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IBonusReasonMaintService)this._Channel).Freeze(this._UserProfile, bonusReasonMaint, parameters, request, out result) : this.AddMethod((Method) new BonusReasonMaintMethod(bonusReasonMaint, BonusReasonMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)bonusReasonMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#8
0
 public ResultStatus ExecuteTransaction(
     BonusReasonMaint_Request request,
     out BonusReasonMaint_Result result)
 {
     return(this.ExecuteTransaction((BonusReasonMaint)null, request, out result));
 }
示例#9
0
 public ResultStatus GetEnvironment(
     BonusReasonMaint_Request request,
     out BonusReasonMaint_Result result)
 {
     return(this.GetEnvironment((BonusReasonMaint)null, request, out result));
 }