Exemple #1
0
 public ResultStatus GetWIPMsgs(
     SystemInfoInquiry systemInfoInquiry,
     SystemInfoInquiry_Request request,
     out SystemInfoInquiry_Result result)
 {
     return(this.GetWIPMsgs(systemInfoInquiry, (SystemInfoInquiry_Parameters)null, request, out result));
 }
Exemple #2
0
 public ResultStatus GetEnvironment(
     SystemInfoInquiry cdo,
     SystemInfoInquiry_Request request,
     out SystemInfoInquiry_Result result)
 {
     result = (SystemInfoInquiry_Result)null;
     try
     {
         return(((ISystemInfoInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #3
0
 public ResultStatus CommitTransaction(
     SystemInfoInquiry_Request request,
     out SystemInfoInquiry_Result result)
 {
     result = (SystemInfoInquiry_Result)null;
     try
     {
         SystemInfoInquiryMethod[] methods = new SystemInfoInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ISystemInfoInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #4
0
        public ResultStatus ExecuteTransaction(
            SystemInfoInquiry cdo,
            SystemInfoInquiry_Request request,
            out SystemInfoInquiry_Result result)
        {
            result = (SystemInfoInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ISystemInfoInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new SystemInfoInquiryMethod(cdo, SystemInfoInquiryMethods.ExecuteTransaction, (SystemInfoInquiry_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);
        }
Exemple #5
0
        public ResultStatus GetWIPMsgs(
            SystemInfoInquiry systemInfoInquiry,
            SystemInfoInquiry_Parameters parameters,
            SystemInfoInquiry_Request request,
            out SystemInfoInquiry_Result result)
        {
            result = (SystemInfoInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)systemInfoInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ISystemInfoInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, systemInfoInquiry, parameters, request, out result) : this.AddMethod((Method) new SystemInfoInquiryMethod(systemInfoInquiry, SystemInfoInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)systemInfoInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #6
0
 public ResultStatus ExecuteTransaction(
     SystemInfoInquiry_Request request,
     out SystemInfoInquiry_Result result)
 {
     return(this.ExecuteTransaction((SystemInfoInquiry)null, request, out result));
 }
Exemple #7
0
 public ResultStatus GetEnvironment(
     SystemInfoInquiry_Request request,
     out SystemInfoInquiry_Result result)
 {
     return(this.GetEnvironment((SystemInfoInquiry)null, request, out result));
 }