コード例 #1
0
 public ResultStatus Load(
     CDOInstanceInfoInquiry cDOInstanceInfoInquiry,
     CDOInstanceInfoInquiry_Request request,
     out CDOInstanceInfoInquiry_Result result)
 {
     return(this.Load(cDOInstanceInfoInquiry, (CDOInstanceInfoInquiry_Parameters)null, request, out result));
 }
コード例 #2
0
 public ResultStatus GetEnvironment(
     CDOInstanceInfoInquiry cdo,
     CDOInstanceInfoInquiry_Request request,
     out CDOInstanceInfoInquiry_Result result)
 {
     result = (CDOInstanceInfoInquiry_Result)null;
     try
     {
         return(((ICDOInstanceInfoInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #3
0
 public ResultStatus CommitTransaction(
     CDOInstanceInfoInquiry_Request request,
     out CDOInstanceInfoInquiry_Result result)
 {
     result = (CDOInstanceInfoInquiry_Result)null;
     try
     {
         CDOInstanceInfoInquiryMethod[] methods = new CDOInstanceInfoInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ICDOInstanceInfoInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #4
0
        public ResultStatus ExecuteTransaction(
            CDOInstanceInfoInquiry cdo,
            CDOInstanceInfoInquiry_Request request,
            out CDOInstanceInfoInquiry_Result result)
        {
            result = (CDOInstanceInfoInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ICDOInstanceInfoInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new CDOInstanceInfoInquiryMethod(cdo, CDOInstanceInfoInquiryMethods.ExecuteTransaction, (CDOInstanceInfoInquiry_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);
        }
コード例 #5
0
        public ResultStatus GetWIPMsgs(
            CDOInstanceInfoInquiry cDOInstanceInfoInquiry,
            CDOInstanceInfoInquiry_Parameters parameters,
            CDOInstanceInfoInquiry_Request request,
            out CDOInstanceInfoInquiry_Result result)
        {
            result = (CDOInstanceInfoInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)cDOInstanceInfoInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ICDOInstanceInfoInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, cDOInstanceInfoInquiry, parameters, request, out result) : this.AddMethod((Method) new CDOInstanceInfoInquiryMethod(cDOInstanceInfoInquiry, CDOInstanceInfoInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)cDOInstanceInfoInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
コード例 #6
0
 public ResultStatus ExecuteTransaction(
     CDOInstanceInfoInquiry_Request request,
     out CDOInstanceInfoInquiry_Result result)
 {
     return(this.ExecuteTransaction((CDOInstanceInfoInquiry)null, request, out result));
 }
コード例 #7
0
 public ResultStatus GetEnvironment(
     CDOInstanceInfoInquiry_Request request,
     out CDOInstanceInfoInquiry_Result result)
 {
     return(this.GetEnvironment((CDOInstanceInfoInquiry)null, request, out result));
 }