コード例 #1
0
 public ResultStatus GetActions(
     ChangeQty changeQty,
     ChangeQty_Request request,
     out ChangeQty_Result result)
 {
     return(this.GetActions(changeQty, (ChangeQty_Parameters)null, request, out result));
 }
コード例 #2
0
 public ResultStatus CreateParametricData(
     ChangeQty changeQty,
     ChangeQty_Request request,
     out ChangeQty_Result result)
 {
     return(this.CreateParametricData(changeQty, (ChangeQty_Parameters)null, request, out result));
 }
コード例 #3
0
 public ResultStatus ProcessComputation(
     ChangeQty changeQty,
     ChangeQty_Request request,
     out ChangeQty_Result result)
 {
     return(this.ProcessComputation(changeQty, (ChangeQty_Parameters)null, request, out result));
 }
コード例 #4
0
 public ResultStatus LoadESigDetails(
     ChangeQty changeQty,
     ChangeQty_Request request,
     out ChangeQty_Result result)
 {
     return(this.LoadESigDetails(changeQty, (ChangeQty_LoadESigDetails_Parameters)null, request, out result));
 }
コード例 #5
0
 public ResultStatus GetEnvironment(
     ChangeQty cdo,
     ChangeQty_Request request,
     out ChangeQty_Result result)
 {
     result = (ChangeQty_Result)null;
     try
     {
         return(((IChangeQtyService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #6
0
 public ResultStatus CommitTransaction(
     ChangeQty_Request request,
     out ChangeQty_Result result)
 {
     result = (ChangeQty_Result)null;
     try
     {
         ChangeQtyMethod[] methods = new ChangeQtyMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IChangeQtyService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
コード例 #7
0
        public ResultStatus ExecuteTransaction(
            ChangeQty cdo,
            ChangeQty_Request request,
            out ChangeQty_Result result)
        {
            result = (ChangeQty_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IChangeQtyService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ChangeQtyMethod(cdo, ChangeQtyMethods.ExecuteTransaction, (ChangeQty_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);
        }
コード例 #8
0
        public ResultStatus GetActions(
            ChangeQty changeQty,
            ChangeQty_Parameters parameters,
            ChangeQty_Request request,
            out ChangeQty_Result result)
        {
            result = (ChangeQty_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)changeQty, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IChangeQtyService)this._Channel).GetActions(this._UserProfile, changeQty, parameters, request, out result) : this.AddMethod((Method) new ChangeQtyMethod(changeQty, ChangeQtyMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)changeQty, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
コード例 #9
0
 public ResultStatus ExecuteTransaction(
     ChangeQty_Request request,
     out ChangeQty_Result result)
 {
     return(this.ExecuteTransaction((ChangeQty)null, request, out result));
 }
コード例 #10
0
 public ResultStatus GetEnvironment(
     ChangeQty_Request request,
     out ChangeQty_Result result)
 {
     return(this.GetEnvironment((ChangeQty)null, request, out result));
 }