Esempio n. 1
0
 public ResultStatus CDOInquiry_GetCDOs(
     V4_CDOInquiry v4_CDOInquiry,
     V4_CDOInquiry_Request request,
     out V4_CDOInquiry_Result result)
 {
     return(this.CDOInquiry_GetCDOs(v4_CDOInquiry, (V4_CDOInquiry_Parameters)null, request, out result));
 }
Esempio n. 2
0
 public ResultStatus GetEnvironment(
     V4_CDOInquiry cdo,
     V4_CDOInquiry_Request request,
     out V4_CDOInquiry_Result result)
 {
     result = (V4_CDOInquiry_Result)null;
     try
     {
         return(((IV4_CDOInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 3
0
 public ResultStatus CommitTransaction(
     V4_CDOInquiry_Request request,
     out V4_CDOInquiry_Result result)
 {
     result = (V4_CDOInquiry_Result)null;
     try
     {
         V4_CDOInquiryMethod[] methods = new V4_CDOInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IV4_CDOInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 4
0
        public ResultStatus ExecuteTransaction(
            V4_CDOInquiry cdo,
            V4_CDOInquiry_Request request,
            out V4_CDOInquiry_Result result)
        {
            result = (V4_CDOInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IV4_CDOInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new V4_CDOInquiryMethod(cdo, V4_CDOInquiryMethods.ExecuteTransaction, (V4_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);
        }
Esempio n. 5
0
        public ResultStatus CDOInquiry_GetCDOs(
            V4_CDOInquiry v4_CDOInquiry,
            V4_CDOInquiry_Parameters parameters,
            V4_CDOInquiry_Request request,
            out V4_CDOInquiry_Result result)
        {
            result = (V4_CDOInquiry_Result)null;
            this.OnBeforeCall(nameof(CDOInquiry_GetCDOs), (DCObject)v4_CDOInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IV4_CDOInquiryService)this._Channel).CDOInquiry_GetCDOs(this._UserProfile, v4_CDOInquiry, parameters, request, out result) : this.AddMethod((Method) new V4_CDOInquiryMethod(v4_CDOInquiry, V4_CDOInquiryMethods.CDOInquiry_GetCDOs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(CDOInquiry_GetCDOs), res, (DCObject)v4_CDOInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Esempio n. 6
0
 public ResultStatus ExecuteTransaction(
     V4_CDOInquiry_Request request,
     out V4_CDOInquiry_Result result)
 {
     return(this.ExecuteTransaction((V4_CDOInquiry)null, request, out result));
 }
Esempio n. 7
0
 public ResultStatus GetEnvironment(
     V4_CDOInquiry_Request request,
     out V4_CDOInquiry_Result result)
 {
     return(this.GetEnvironment((V4_CDOInquiry)null, request, out result));
 }