예제 #1
0
 public ResultStatus LoadESigDetails(
     BillTypeMaint billTypeMaint,
     BillTypeMaint_Request request,
     out BillTypeMaint_Result result)
 {
     return(this.LoadESigDetails(billTypeMaint, (BillTypeMaint_LoadESigDetails_Parameters)null, request, out result));
 }
예제 #2
0
 public ResultStatus GetWIPMsgs(
     BillTypeMaint billTypeMaint,
     BillTypeMaint_Request request,
     out BillTypeMaint_Result result)
 {
     return(this.GetWIPMsgs(billTypeMaint, (BillTypeMaint_Parameters)null, request, out result));
 }
예제 #3
0
 public ResultStatus GetEnvironment(
     BillTypeMaint cdo,
     BillTypeMaint_Request request,
     out BillTypeMaint_Result result)
 {
     result = (BillTypeMaint_Result)null;
     try
     {
         return(((IBillTypeMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #4
0
 public ResultStatus CommitTransaction(
     BillTypeMaint_Request request,
     out BillTypeMaint_Result result)
 {
     result = (BillTypeMaint_Result)null;
     try
     {
         BillTypeMaintMethod[] methods = new BillTypeMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IBillTypeMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #5
0
        public ResultStatus Freeze(
            BillTypeMaint billTypeMaint,
            BillTypeMaint_Parameters parameters,
            BillTypeMaint_Request request,
            out BillTypeMaint_Result result)
        {
            result = (BillTypeMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)billTypeMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IBillTypeMaintService)this._Channel).Freeze(this._UserProfile, billTypeMaint, parameters, request, out result) : this.AddMethod((Method) new BillTypeMaintMethod(billTypeMaint, BillTypeMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)billTypeMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }