示例#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 NumberingRuleMaintMethod(
     NumberingRuleMaint Cdo,
     NumberingRuleMaintMethods Method,
     NumberingRuleMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
示例#6
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));
     }
 }
示例#7
0
        public ResultStatus AddDataTransaction(NumberingRuleMaint cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new NumberingRuleMaintMethod(cdo, NumberingRuleMaintMethods.AddDataTransaction, (NumberingRuleMaint_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                Result result;
                this.OnAfterCall(nameof(AddDataTransaction), res, (DCObject)cdo, (Parameters)null, (Request)null, result);
            }
            return(res);
        }
示例#8
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);
        }
示例#9
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);
        }
示例#10
0
 public ResultStatus ExecuteTransaction(NumberingRuleMaint cdo)
 {
     return(this.ExecuteTransaction(cdo, (NumberingRuleMaint_Request)null, out NumberingRuleMaint_Result _));
 }
示例#11
0
 public ResultStatus Delete(NumberingRuleMaint numberingRuleMaint)
 {
     return(this.Delete(numberingRuleMaint, (NumberingRuleMaint_Parameters)null, (NumberingRuleMaint_Request)null, out NumberingRuleMaint_Result _));
 }