Пример #1
0
        public ResultStatus GetWIPMsgs(
            Closes closes,
            Closes_Parameters parameters,
            Closes_Request request,
            out Closes_Result result)
        {
            result = (Closes_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)closes, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IClosesService)this._Channel).GetWIPMsgs(this._UserProfile, closes, parameters, request, out result) : this.AddMethod((Method) new ClosesMethod(closes, ClosesMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)closes, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #2
0
 public ResultStatus ExecuteTransaction(
     Closes_Request request,
     out Closes_Result result)
 {
     return(this.ExecuteTransaction((Closes)null, request, out result));
 }
Пример #3
0
 public ResultStatus GetEnvironment(Closes_Request request, out Closes_Result result)
 {
     return(this.GetEnvironment((Closes)null, request, out result));
 }