示例#1
0
 public ResultStatus Freeze(
     NumberingRuleMaint numberingRuleMaint,
     NumberingRuleMaint_Request request,
     out NumberingRuleMaint_Result result)
 {
     return(this.Freeze(numberingRuleMaint, (NumberingRuleMaint_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus ResetLastAssignedSequence(
     NumberingRuleMaint numberingRuleMaint,
     NumberingRuleMaint_Request request,
     out NumberingRuleMaint_Result result)
 {
     return(this.ResetLastAssignedSequence(numberingRuleMaint, (NumberingRuleMaint_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus LoadESigDetails(
     NumberingRuleMaint numberingRuleMaint,
     NumberingRuleMaint_Request request,
     out NumberingRuleMaint_Result result)
 {
     return(this.LoadESigDetails(numberingRuleMaint, (NumberingRuleMaint_LoadESigDetails_Parameters)null, request, out result));
 }
示例#4
0
 public ResultStatus GetWIPMsgs(
     NumberingRuleMaint numberingRuleMaint,
     NumberingRuleMaint_Request request,
     out NumberingRuleMaint_Result result)
 {
     return(this.GetWIPMsgs(numberingRuleMaint, (NumberingRuleMaint_Parameters)null, request, out result));
 }
示例#5
0
 public ResultStatus GetEnvironment(
     NumberingRuleMaint cdo,
     NumberingRuleMaint_Request request,
     out NumberingRuleMaint_Result result)
 {
     result = (NumberingRuleMaint_Result)null;
     try
     {
         return(((INumberingRuleMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#6
0
 public ResultStatus CommitTransaction(
     NumberingRuleMaint_Request request,
     out NumberingRuleMaint_Result result)
 {
     result = (NumberingRuleMaint_Result)null;
     try
     {
         NumberingRuleMaintMethod[] methods = new NumberingRuleMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((INumberingRuleMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#7
0
        public ResultStatus ExecuteTransaction(
            NumberingRuleMaint cdo,
            NumberingRuleMaint_Request request,
            out NumberingRuleMaint_Result result)
        {
            result = (NumberingRuleMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((INumberingRuleMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new NumberingRuleMaintMethod(cdo, NumberingRuleMaintMethods.ExecuteTransaction, (NumberingRuleMaint_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 Freeze(
            NumberingRuleMaint numberingRuleMaint,
            NumberingRuleMaint_Parameters parameters,
            NumberingRuleMaint_Request request,
            out NumberingRuleMaint_Result result)
        {
            result = (NumberingRuleMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)numberingRuleMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((INumberingRuleMaintService)this._Channel).Freeze(this._UserProfile, numberingRuleMaint, parameters, request, out result) : this.AddMethod((Method) new NumberingRuleMaintMethod(numberingRuleMaint, NumberingRuleMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)numberingRuleMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#9
0
 public ResultStatus ExecuteTransaction(
     NumberingRuleMaint_Request request,
     out NumberingRuleMaint_Result result)
 {
     return(this.ExecuteTransaction((NumberingRuleMaint)null, request, out result));
 }
示例#10
0
 public ResultStatus GetEnvironment(
     NumberingRuleMaint_Request request,
     out NumberingRuleMaint_Result result)
 {
     return(this.GetEnvironment((NumberingRuleMaint)null, request, out result));
 }