예제 #1
0
 public ResultStatus LoadESigDetails(
     HoldReasonMaint holdReasonMaint,
     HoldReasonMaint_Request request,
     out HoldReasonMaint_Result result)
 {
     return(this.LoadESigDetails(holdReasonMaint, (HoldReasonMaint_LoadESigDetails_Parameters)null, request, out result));
 }
예제 #2
0
 public ResultStatus Freeze(
     HoldReasonMaint holdReasonMaint,
     HoldReasonMaint_Request request,
     out HoldReasonMaint_Result result)
 {
     return(this.Freeze(holdReasonMaint, (HoldReasonMaint_Parameters)null, request, out result));
 }
예제 #3
0
 public ResultStatus GetWIPMsgs(
     HoldReasonMaint holdReasonMaint,
     HoldReasonMaint_Request request,
     out HoldReasonMaint_Result result)
 {
     return(this.GetWIPMsgs(holdReasonMaint, (HoldReasonMaint_Parameters)null, request, out result));
 }
예제 #4
0
 public ResultStatus GetEnvironment(
     HoldReasonMaint cdo,
     HoldReasonMaint_Request request,
     out HoldReasonMaint_Result result)
 {
     result = (HoldReasonMaint_Result)null;
     try
     {
         return(((IHoldReasonMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #5
0
 public ResultStatus CommitTransaction(
     HoldReasonMaint_Request request,
     out HoldReasonMaint_Result result)
 {
     result = (HoldReasonMaint_Result)null;
     try
     {
         HoldReasonMaintMethod[] methods = new HoldReasonMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IHoldReasonMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #6
0
        public ResultStatus ExecuteTransaction(
            HoldReasonMaint cdo,
            HoldReasonMaint_Request request,
            out HoldReasonMaint_Result result)
        {
            result = (HoldReasonMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IHoldReasonMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new HoldReasonMaintMethod(cdo, HoldReasonMaintMethods.ExecuteTransaction, (HoldReasonMaint_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(
            HoldReasonMaint holdReasonMaint,
            HoldReasonMaint_Parameters parameters,
            HoldReasonMaint_Request request,
            out HoldReasonMaint_Result result)
        {
            result = (HoldReasonMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)holdReasonMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IHoldReasonMaintService)this._Channel).Freeze(this._UserProfile, holdReasonMaint, parameters, request, out result) : this.AddMethod((Method) new HoldReasonMaintMethod(holdReasonMaint, HoldReasonMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)holdReasonMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
예제 #8
0
 public ResultStatus ExecuteTransaction(
     HoldReasonMaint_Request request,
     out HoldReasonMaint_Result result)
 {
     return(this.ExecuteTransaction((HoldReasonMaint)null, request, out result));
 }
예제 #9
0
 public ResultStatus GetEnvironment(
     HoldReasonMaint_Request request,
     out HoldReasonMaint_Result result)
 {
     return(this.GetEnvironment((HoldReasonMaint)null, request, out result));
 }