Example #1
0
 public ResultStatus GetWIPMsgs(
     CDOInquiry cDOInquiry,
     CDOInquiry_Request request,
     out CDOInquiry_Result result)
 {
     return(this.GetWIPMsgs(cDOInquiry, (CDOInquiry_Parameters)null, request, out result));
 }
Example #2
0
 public ResultStatus GetEnvironment(
     CDOInquiry cdo,
     CDOInquiry_Request request,
     out CDOInquiry_Result result)
 {
     result = (CDOInquiry_Result)null;
     try
     {
         return(((ICDOInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #3
0
 public ResultStatus CommitTransaction(
     CDOInquiry_Request request,
     out CDOInquiry_Result result)
 {
     result = (CDOInquiry_Result)null;
     try
     {
         CDOInquiryMethod[] methods = new CDOInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ICDOInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #4
0
        public ResultStatus ExecuteTransaction(
            CDOInquiry cdo,
            CDOInquiry_Request request,
            out CDOInquiry_Result result)
        {
            result = (CDOInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ICDOInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new CDOInquiryMethod(cdo, CDOInquiryMethods.ExecuteTransaction, (CDOInquiry_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);
        }
Example #5
0
        public ResultStatus GetWIPMsgs(
            CDOInquiry cDOInquiry,
            CDOInquiry_Parameters parameters,
            CDOInquiry_Request request,
            out CDOInquiry_Result result)
        {
            result = (CDOInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)cDOInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ICDOInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, cDOInquiry, parameters, request, out result) : this.AddMethod((Method) new CDOInquiryMethod(cDOInquiry, CDOInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)cDOInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Example #6
0
 public ResultStatus ExecuteTransaction(
     CDOInquiry_Request request,
     out CDOInquiry_Result result)
 {
     return(this.ExecuteTransaction((CDOInquiry)null, request, out result));
 }
Example #7
0
 public ResultStatus GetEnvironment(
     CDOInquiry_Request request,
     out CDOInquiry_Result result)
 {
     return(this.GetEnvironment((CDOInquiry)null, request, out result));
 }