Beispiel #1
0
 public ResultStatus GetWIPMsgs(
     ApprovalCycleInquiry approvalCycleInquiry,
     ApprovalCycleInquiry_Request request,
     out ApprovalCycleInquiry_Result result)
 {
     return(this.GetWIPMsgs(approvalCycleInquiry, (ApprovalCycleInquiry_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus GetEnvironment(
     ApprovalCycleInquiry cdo,
     ApprovalCycleInquiry_Request request,
     out ApprovalCycleInquiry_Result result)
 {
     result = (ApprovalCycleInquiry_Result)null;
     try
     {
         return(((IApprovalCycleInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #3
0
 public ResultStatus CommitTransaction(
     ApprovalCycleInquiry_Request request,
     out ApprovalCycleInquiry_Result result)
 {
     result = (ApprovalCycleInquiry_Result)null;
     try
     {
         ApprovalCycleInquiryMethod[] methods = new ApprovalCycleInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IApprovalCycleInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #4
0
        public ResultStatus ExecuteTransaction(
            ApprovalCycleInquiry cdo,
            ApprovalCycleInquiry_Request request,
            out ApprovalCycleInquiry_Result result)
        {
            result = (ApprovalCycleInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IApprovalCycleInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ApprovalCycleInquiryMethod(cdo, ApprovalCycleInquiryMethods.ExecuteTransaction, (ApprovalCycleInquiry_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);
        }
Beispiel #5
0
        public ResultStatus GetWIPMsgs(
            ApprovalCycleInquiry approvalCycleInquiry,
            ApprovalCycleInquiry_Parameters parameters,
            ApprovalCycleInquiry_Request request,
            out ApprovalCycleInquiry_Result result)
        {
            result = (ApprovalCycleInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)approvalCycleInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IApprovalCycleInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, approvalCycleInquiry, parameters, request, out result) : this.AddMethod((Method) new ApprovalCycleInquiryMethod(approvalCycleInquiry, ApprovalCycleInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)approvalCycleInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #6
0
 public ResultStatus ExecuteTransaction(
     ApprovalCycleInquiry_Request request,
     out ApprovalCycleInquiry_Result result)
 {
     return(this.ExecuteTransaction((ApprovalCycleInquiry)null, request, out result));
 }
Beispiel #7
0
 public ResultStatus GetEnvironment(
     ApprovalCycleInquiry_Request request,
     out ApprovalCycleInquiry_Result result)
 {
     return(this.GetEnvironment((ApprovalCycleInquiry)null, request, out result));
 }