示例#1
0
 public ResultStatus LoadESigDetails(
     BuyReasonGroupMaint buyReasonGroupMaint,
     BuyReasonGroupMaint_Request request,
     out BuyReasonGroupMaint_Result result)
 {
     return(this.LoadESigDetails(buyReasonGroupMaint, (BuyReasonGroupMaint_LoadESigDetails_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus Freeze(
     BuyReasonGroupMaint buyReasonGroupMaint,
     BuyReasonGroupMaint_Request request,
     out BuyReasonGroupMaint_Result result)
 {
     return(this.Freeze(buyReasonGroupMaint, (BuyReasonGroupMaint_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus GetWIPMsgs(
     BuyReasonGroupMaint buyReasonGroupMaint,
     BuyReasonGroupMaint_Request request,
     out BuyReasonGroupMaint_Result result)
 {
     return(this.GetWIPMsgs(buyReasonGroupMaint, (BuyReasonGroupMaint_Parameters)null, request, out result));
 }
示例#4
0
 public ResultStatus GetEnvironment(
     BuyReasonGroupMaint cdo,
     BuyReasonGroupMaint_Request request,
     out BuyReasonGroupMaint_Result result)
 {
     result = (BuyReasonGroupMaint_Result)null;
     try
     {
         return(((IBuyReasonGroupMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#5
0
 public ResultStatus CommitTransaction(
     BuyReasonGroupMaint_Request request,
     out BuyReasonGroupMaint_Result result)
 {
     result = (BuyReasonGroupMaint_Result)null;
     try
     {
         BuyReasonGroupMaintMethod[] methods = new BuyReasonGroupMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IBuyReasonGroupMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#6
0
        public ResultStatus ExecuteTransaction(
            BuyReasonGroupMaint cdo,
            BuyReasonGroupMaint_Request request,
            out BuyReasonGroupMaint_Result result)
        {
            result = (BuyReasonGroupMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IBuyReasonGroupMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new BuyReasonGroupMaintMethod(cdo, BuyReasonGroupMaintMethods.ExecuteTransaction, (BuyReasonGroupMaint_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);
        }
示例#7
0
        public ResultStatus Freeze(
            BuyReasonGroupMaint buyReasonGroupMaint,
            BuyReasonGroupMaint_Parameters parameters,
            BuyReasonGroupMaint_Request request,
            out BuyReasonGroupMaint_Result result)
        {
            result = (BuyReasonGroupMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)buyReasonGroupMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IBuyReasonGroupMaintService)this._Channel).Freeze(this._UserProfile, buyReasonGroupMaint, parameters, request, out result) : this.AddMethod((Method) new BuyReasonGroupMaintMethod(buyReasonGroupMaint, BuyReasonGroupMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)buyReasonGroupMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#8
0
 public ResultStatus ExecuteTransaction(
     BuyReasonGroupMaint_Request request,
     out BuyReasonGroupMaint_Result result)
 {
     return(this.ExecuteTransaction((BuyReasonGroupMaint)null, request, out result));
 }
示例#9
0
 public ResultStatus GetEnvironment(
     BuyReasonGroupMaint_Request request,
     out BuyReasonGroupMaint_Result result)
 {
     return(this.GetEnvironment((BuyReasonGroupMaint)null, request, out result));
 }