示例#1
0
 public ResultStatus Freeze(
     LocalReworkReasonGroupMaint localReworkReasonGroupMaint,
     LocalReworkReasonGroupMaint_Request request,
     out LocalReworkReasonGroupMaint_Result result)
 {
     return(this.Freeze(localReworkReasonGroupMaint, (LocalReworkReasonGroupMaint_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus LoadESigDetails(
     LocalReworkReasonGroupMaint localReworkReasonGroupMaint,
     LocalReworkReasonGroupMaint_Request request,
     out LocalReworkReasonGroupMaint_Result result)
 {
     return(this.LoadESigDetails(localReworkReasonGroupMaint, (LocalReworkReasonGroupMaint_LoadESigDetails_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus GetEnvironment(
     LocalReworkReasonGroupMaint cdo,
     LocalReworkReasonGroupMaint_Request request,
     out LocalReworkReasonGroupMaint_Result result)
 {
     result = (LocalReworkReasonGroupMaint_Result)null;
     try
     {
         return(((ILocalReworkReasonGroupMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#4
0
 public ResultStatus CommitTransaction(
     LocalReworkReasonGroupMaint_Request request,
     out LocalReworkReasonGroupMaint_Result result)
 {
     result = (LocalReworkReasonGroupMaint_Result)null;
     try
     {
         LocalReworkReasonGroupMaintMethod[] methods = new LocalReworkReasonGroupMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ILocalReworkReasonGroupMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#5
0
        public ResultStatus ExecuteTransaction(
            LocalReworkReasonGroupMaint cdo,
            LocalReworkReasonGroupMaint_Request request,
            out LocalReworkReasonGroupMaint_Result result)
        {
            result = (LocalReworkReasonGroupMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ILocalReworkReasonGroupMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new LocalReworkReasonGroupMaintMethod(cdo, LocalReworkReasonGroupMaintMethods.ExecuteTransaction, (LocalReworkReasonGroupMaint_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);
        }
示例#6
0
        public ResultStatus Freeze(
            LocalReworkReasonGroupMaint localReworkReasonGroupMaint,
            LocalReworkReasonGroupMaint_Parameters parameters,
            LocalReworkReasonGroupMaint_Request request,
            out LocalReworkReasonGroupMaint_Result result)
        {
            result = (LocalReworkReasonGroupMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)localReworkReasonGroupMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ILocalReworkReasonGroupMaintService)this._Channel).Freeze(this._UserProfile, localReworkReasonGroupMaint, parameters, request, out result) : this.AddMethod((Method) new LocalReworkReasonGroupMaintMethod(localReworkReasonGroupMaint, LocalReworkReasonGroupMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)localReworkReasonGroupMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#7
0
 public ResultStatus ExecuteTransaction(
     LocalReworkReasonGroupMaint_Request request,
     out LocalReworkReasonGroupMaint_Result result)
 {
     return(this.ExecuteTransaction((LocalReworkReasonGroupMaint)null, request, out result));
 }
示例#8
0
 public ResultStatus GetEnvironment(
     LocalReworkReasonGroupMaint_Request request,
     out LocalReworkReasonGroupMaint_Result result)
 {
     return(this.GetEnvironment((LocalReworkReasonGroupMaint)null, request, out result));
 }