コード例 #1
0
 public ResultStatus Freeze(
     ApprovalSheetTemplateMaint approvalSheetTemplateMaint,
     ApprovalSheetTemplateMaint_Request request,
     out ApprovalSheetTemplateMaint_Result result)
 {
     return(this.Freeze(approvalSheetTemplateMaint, (ApprovalSheetTemplateMaint_Parameters)null, request, out result));
 }
コード例 #2
0
 public ResultStatus LoadESigDetails(
     ApprovalSheetTemplateMaint approvalSheetTemplateMaint,
     ApprovalSheetTemplateMaint_Request request,
     out ApprovalSheetTemplateMaint_Result result)
 {
     return(this.LoadESigDetails(approvalSheetTemplateMaint, (ApprovalSheetTemplateMaint_LoadESigDetails_Parameters)null, request, out result));
 }
コード例 #3
0
 public ResultStatus GetEnvironment(
     ApprovalSheetTemplateMaint cdo,
     ApprovalSheetTemplateMaint_Request request,
     out ApprovalSheetTemplateMaint_Result result)
 {
     result = (ApprovalSheetTemplateMaint_Result)null;
     try
     {
         return(((IApprovalSheetTemplateMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #4
0
 public ResultStatus CommitTransaction(
     ApprovalSheetTemplateMaint_Request request,
     out ApprovalSheetTemplateMaint_Result result)
 {
     result = (ApprovalSheetTemplateMaint_Result)null;
     try
     {
         ApprovalSheetTemplateMaintMethod[] methods = new ApprovalSheetTemplateMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IApprovalSheetTemplateMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #5
0
        public ResultStatus ExecuteTransaction(
            ApprovalSheetTemplateMaint cdo,
            ApprovalSheetTemplateMaint_Request request,
            out ApprovalSheetTemplateMaint_Result result)
        {
            result = (ApprovalSheetTemplateMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IApprovalSheetTemplateMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ApprovalSheetTemplateMaintMethod(cdo, ApprovalSheetTemplateMaintMethods.ExecuteTransaction, (ApprovalSheetTemplateMaint_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(
            ApprovalSheetTemplateMaint approvalSheetTemplateMaint,
            ApprovalSheetTemplateMaint_Parameters parameters,
            ApprovalSheetTemplateMaint_Request request,
            out ApprovalSheetTemplateMaint_Result result)
        {
            result = (ApprovalSheetTemplateMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)approvalSheetTemplateMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IApprovalSheetTemplateMaintService)this._Channel).Freeze(this._UserProfile, approvalSheetTemplateMaint, parameters, request, out result) : this.AddMethod((Method) new ApprovalSheetTemplateMaintMethod(approvalSheetTemplateMaint, ApprovalSheetTemplateMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)approvalSheetTemplateMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
コード例 #7
0
 public ResultStatus ExecuteTransaction(
     ApprovalSheetTemplateMaint_Request request,
     out ApprovalSheetTemplateMaint_Result result)
 {
     return(this.ExecuteTransaction((ApprovalSheetTemplateMaint)null, request, out result));
 }
コード例 #8
0
 public ResultStatus GetEnvironment(
     ApprovalSheetTemplateMaint_Request request,
     out ApprovalSheetTemplateMaint_Result result)
 {
     return(this.GetEnvironment((ApprovalSheetTemplateMaint)null, request, out result));
 }