示例#1
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);
        }
示例#2
0
 public InquiryMethod(Inquiry Cdo, InquiryMethods Method, Inquiry_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }