Example #1
0
 public ResultStatus LoadESigDetails(
     ReworkReasonMaint reworkReasonMaint,
     ReworkReasonMaint_Request request,
     out ReworkReasonMaint_Result result)
 {
     return(this.LoadESigDetails(reworkReasonMaint, (ReworkReasonMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Example #2
0
 public ResultStatus Freeze(
     ReworkReasonMaint reworkReasonMaint,
     ReworkReasonMaint_Request request,
     out ReworkReasonMaint_Result result)
 {
     return(this.Freeze(reworkReasonMaint, (ReworkReasonMaint_Parameters)null, request, out result));
 }
Example #3
0
 public ResultStatus GetWIPMsgs(
     ReworkReasonMaint reworkReasonMaint,
     ReworkReasonMaint_Request request,
     out ReworkReasonMaint_Result result)
 {
     return(this.GetWIPMsgs(reworkReasonMaint, (ReworkReasonMaint_Parameters)null, request, out result));
 }
Example #4
0
 public ResultStatus GetEnvironment(
     ReworkReasonMaint cdo,
     ReworkReasonMaint_Request request,
     out ReworkReasonMaint_Result result)
 {
     result = (ReworkReasonMaint_Result)null;
     try
     {
         return(((IReworkReasonMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #5
0
 public ResultStatus CommitTransaction(
     ReworkReasonMaint_Request request,
     out ReworkReasonMaint_Result result)
 {
     result = (ReworkReasonMaint_Result)null;
     try
     {
         ReworkReasonMaintMethod[] methods = new ReworkReasonMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IReworkReasonMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #6
0
        public ResultStatus ExecuteTransaction(
            ReworkReasonMaint cdo,
            ReworkReasonMaint_Request request,
            out ReworkReasonMaint_Result result)
        {
            result = (ReworkReasonMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IReworkReasonMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ReworkReasonMaintMethod(cdo, ReworkReasonMaintMethods.ExecuteTransaction, (ReworkReasonMaint_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);
        }
Example #7
0
        public ResultStatus Freeze(
            ReworkReasonMaint reworkReasonMaint,
            ReworkReasonMaint_Parameters parameters,
            ReworkReasonMaint_Request request,
            out ReworkReasonMaint_Result result)
        {
            result = (ReworkReasonMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)reworkReasonMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IReworkReasonMaintService)this._Channel).Freeze(this._UserProfile, reworkReasonMaint, parameters, request, out result) : this.AddMethod((Method) new ReworkReasonMaintMethod(reworkReasonMaint, ReworkReasonMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)reworkReasonMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Example #8
0
 public ResultStatus ExecuteTransaction(
     ReworkReasonMaint_Request request,
     out ReworkReasonMaint_Result result)
 {
     return(this.ExecuteTransaction((ReworkReasonMaint)null, request, out result));
 }
Example #9
0
 public ResultStatus GetEnvironment(
     ReworkReasonMaint_Request request,
     out ReworkReasonMaint_Result result)
 {
     return(this.GetEnvironment((ReworkReasonMaint)null, request, out result));
 }