예제 #1
0
 public ResultStatus Freeze(
     DelegationReasonCodeMaint delegationReasonCodeMaint,
     DelegationReasonCodeMaint_Request request,
     out DelegationReasonCodeMaint_Result result)
 {
     return(this.Freeze(delegationReasonCodeMaint, (DelegationReasonCodeMaint_Parameters)null, request, out result));
 }
예제 #2
0
 public ResultStatus LoadESigDetails(
     DelegationReasonCodeMaint delegationReasonCodeMaint,
     DelegationReasonCodeMaint_Request request,
     out DelegationReasonCodeMaint_Result result)
 {
     return(this.LoadESigDetails(delegationReasonCodeMaint, (DelegationReasonCodeMaint_LoadESigDetails_Parameters)null, request, out result));
 }
예제 #3
0
 public ResultStatus GetEnvironment(
     DelegationReasonCodeMaint cdo,
     DelegationReasonCodeMaint_Request request,
     out DelegationReasonCodeMaint_Result result)
 {
     result = (DelegationReasonCodeMaint_Result)null;
     try
     {
         return(((IDelegationReasonCodeMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #4
0
 public ResultStatus CommitTransaction(
     DelegationReasonCodeMaint_Request request,
     out DelegationReasonCodeMaint_Result result)
 {
     result = (DelegationReasonCodeMaint_Result)null;
     try
     {
         DelegationReasonCodeMaintMethod[] methods = new DelegationReasonCodeMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IDelegationReasonCodeMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #5
0
        public ResultStatus ExecuteTransaction(
            DelegationReasonCodeMaint cdo,
            DelegationReasonCodeMaint_Request request,
            out DelegationReasonCodeMaint_Result result)
        {
            result = (DelegationReasonCodeMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IDelegationReasonCodeMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new DelegationReasonCodeMaintMethod(cdo, DelegationReasonCodeMaintMethods.ExecuteTransaction, (DelegationReasonCodeMaint_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(
            DelegationReasonCodeMaint delegationReasonCodeMaint,
            DelegationReasonCodeMaint_Parameters parameters,
            DelegationReasonCodeMaint_Request request,
            out DelegationReasonCodeMaint_Result result)
        {
            result = (DelegationReasonCodeMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)delegationReasonCodeMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IDelegationReasonCodeMaintService)this._Channel).Freeze(this._UserProfile, delegationReasonCodeMaint, parameters, request, out result) : this.AddMethod((Method) new DelegationReasonCodeMaintMethod(delegationReasonCodeMaint, DelegationReasonCodeMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)delegationReasonCodeMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
예제 #7
0
 public ResultStatus ExecuteTransaction(
     DelegationReasonCodeMaint_Request request,
     out DelegationReasonCodeMaint_Result result)
 {
     return(this.ExecuteTransaction((DelegationReasonCodeMaint)null, request, out result));
 }
예제 #8
0
 public ResultStatus GetEnvironment(
     DelegationReasonCodeMaint_Request request,
     out DelegationReasonCodeMaint_Result result)
 {
     return(this.GetEnvironment((DelegationReasonCodeMaint)null, request, out result));
 }