Пример #1
0
 public ResultStatus GetWIPMsgs(
     Inquiry inquiry,
     Inquiry_Request request,
     out Inquiry_Result result)
 {
     return(this.GetWIPMsgs(inquiry, (Inquiry_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus GetEnvironment(
     Inquiry cdo,
     Inquiry_Request request,
     out Inquiry_Result result)
 {
     result = (Inquiry_Result)null;
     try
     {
         return(((IInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #3
0
 public ResultStatus CommitTransaction(
     Inquiry_Request request,
     out Inquiry_Result result)
 {
     result = (Inquiry_Result)null;
     try
     {
         InquiryMethod[] methods = new InquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #4
0
        public ResultStatus ExecuteTransaction(
            Inquiry cdo,
            Inquiry_Request request,
            out Inquiry_Result result)
        {
            result = (Inquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new InquiryMethod(cdo, InquiryMethods.ExecuteTransaction, (Inquiry_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(
            Inquiry inquiry,
            Inquiry_Parameters parameters,
            Inquiry_Request request,
            out Inquiry_Result result)
        {
            result = (Inquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)inquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, inquiry, parameters, request, out result) : this.AddMethod((Method) new InquiryMethod(inquiry, InquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)inquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #6
0
 public ResultStatus ExecuteTransaction(
     Inquiry_Request request,
     out Inquiry_Result result)
 {
     return(this.ExecuteTransaction((Inquiry)null, request, out result));
 }
Пример #7
0
 public ResultStatus GetEnvironment(
     Inquiry_Request request,
     out Inquiry_Result result)
 {
     return(this.GetEnvironment((Inquiry)null, request, out result));
 }