コード例 #1
0
 public ResultStatus GetWIPMsgs(
     ComponentReplaceInquiry componentReplaceInquiry,
     ComponentReplaceInquiry_Request request,
     out ComponentReplaceInquiry_Result result)
 {
     return(this.GetWIPMsgs(componentReplaceInquiry, (ComponentReplaceInquiry_Parameters)null, request, out result));
 }
コード例 #2
0
 public ResultStatus GetEnvironment(
     ComponentReplaceInquiry cdo,
     ComponentReplaceInquiry_Request request,
     out ComponentReplaceInquiry_Result result)
 {
     result = (ComponentReplaceInquiry_Result)null;
     try
     {
         return(((IComponentReplaceInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #3
0
 public ResultStatus CommitTransaction(
     ComponentReplaceInquiry_Request request,
     out ComponentReplaceInquiry_Result result)
 {
     result = (ComponentReplaceInquiry_Result)null;
     try
     {
         ComponentReplaceInquiryMethod[] methods = new ComponentReplaceInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IComponentReplaceInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #4
0
        public ResultStatus ExecuteTransaction(
            ComponentReplaceInquiry cdo,
            ComponentReplaceInquiry_Request request,
            out ComponentReplaceInquiry_Result result)
        {
            result = (ComponentReplaceInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IComponentReplaceInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ComponentReplaceInquiryMethod(cdo, ComponentReplaceInquiryMethods.ExecuteTransaction, (ComponentReplaceInquiry_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(
            ComponentReplaceInquiry componentReplaceInquiry,
            ComponentReplaceInquiry_Parameters parameters,
            ComponentReplaceInquiry_Request request,
            out ComponentReplaceInquiry_Result result)
        {
            result = (ComponentReplaceInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)componentReplaceInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IComponentReplaceInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, componentReplaceInquiry, parameters, request, out result) : this.AddMethod((Method) new ComponentReplaceInquiryMethod(componentReplaceInquiry, ComponentReplaceInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)componentReplaceInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
コード例 #6
0
 public ResultStatus ExecuteTransaction(
     ComponentReplaceInquiry_Request request,
     out ComponentReplaceInquiry_Result result)
 {
     return(this.ExecuteTransaction((ComponentReplaceInquiry)null, request, out result));
 }
コード例 #7
0
 public ResultStatus GetEnvironment(
     ComponentReplaceInquiry_Request request,
     out ComponentReplaceInquiry_Result result)
 {
     return(this.GetEnvironment((ComponentReplaceInquiry)null, request, out result));
 }