示例#1
0
 public ResultStatus Freeze(
     ScheduledBusinessRuleMaint scheduledBusinessRuleMaint,
     ScheduledBusinessRuleMaint_Request request,
     out ScheduledBusinessRuleMaint_Result result)
 {
     return(this.Freeze(scheduledBusinessRuleMaint, (ScheduledBusinessRuleMaint_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus LoadESigDetails(
     ScheduledBusinessRuleMaint scheduledBusinessRuleMaint,
     ScheduledBusinessRuleMaint_Request request,
     out ScheduledBusinessRuleMaint_Result result)
 {
     return(this.LoadESigDetails(scheduledBusinessRuleMaint, (ScheduledBusinessRuleMaint_LoadESigDetails_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus GetEnvironment(
     ScheduledBusinessRuleMaint cdo,
     ScheduledBusinessRuleMaint_Request request,
     out ScheduledBusinessRuleMaint_Result result)
 {
     result = (ScheduledBusinessRuleMaint_Result)null;
     try
     {
         return(((IScheduledBusinessRuleMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#4
0
 public ResultStatus CommitTransaction(
     ScheduledBusinessRuleMaint_Request request,
     out ScheduledBusinessRuleMaint_Result result)
 {
     result = (ScheduledBusinessRuleMaint_Result)null;
     try
     {
         ScheduledBusinessRuleMaintMethod[] methods = new ScheduledBusinessRuleMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IScheduledBusinessRuleMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#5
0
        public ResultStatus ExecuteTransaction(
            ScheduledBusinessRuleMaint cdo,
            ScheduledBusinessRuleMaint_Request request,
            out ScheduledBusinessRuleMaint_Result result)
        {
            result = (ScheduledBusinessRuleMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IScheduledBusinessRuleMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ScheduledBusinessRuleMaintMethod(cdo, ScheduledBusinessRuleMaintMethods.ExecuteTransaction, (ScheduledBusinessRuleMaint_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);
        }
示例#6
0
        public ResultStatus Freeze(
            ScheduledBusinessRuleMaint scheduledBusinessRuleMaint,
            ScheduledBusinessRuleMaint_Parameters parameters,
            ScheduledBusinessRuleMaint_Request request,
            out ScheduledBusinessRuleMaint_Result result)
        {
            result = (ScheduledBusinessRuleMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)scheduledBusinessRuleMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IScheduledBusinessRuleMaintService)this._Channel).Freeze(this._UserProfile, scheduledBusinessRuleMaint, parameters, request, out result) : this.AddMethod((Method) new ScheduledBusinessRuleMaintMethod(scheduledBusinessRuleMaint, ScheduledBusinessRuleMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)scheduledBusinessRuleMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#7
0
 public ResultStatus ExecuteTransaction(
     ScheduledBusinessRuleMaint_Request request,
     out ScheduledBusinessRuleMaint_Result result)
 {
     return(this.ExecuteTransaction((ScheduledBusinessRuleMaint)null, request, out result));
 }
示例#8
0
 public ResultStatus GetEnvironment(
     ScheduledBusinessRuleMaint_Request request,
     out ScheduledBusinessRuleMaint_Result result)
 {
     return(this.GetEnvironment((ScheduledBusinessRuleMaint)null, request, out result));
 }