예제 #1
0
 public ResultStatus LoadESigDetails(
     ChangeCategory changeCategory,
     ChangeCategory_Request request,
     out ChangeCategory_Result result)
 {
     return(this.LoadESigDetails(changeCategory, (ChangeCategory_Parameters)null, request, out result));
 }
예제 #2
0
 public ResultStatus GetWIPMsgs(
     ChangeCategory changeCategory,
     ChangeCategory_Request request,
     out ChangeCategory_Result result)
 {
     return(this.GetWIPMsgs(changeCategory, (ChangeCategory_Parameters)null, request, out result));
 }
예제 #3
0
 public ResultStatus GetEnvironment(
     ChangeCategory cdo,
     ChangeCategory_Request request,
     out ChangeCategory_Result result)
 {
     result = (ChangeCategory_Result)null;
     try
     {
         return(((IChangeCategoryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #4
0
 public ResultStatus CommitTransaction(
     ChangeCategory_Request request,
     out ChangeCategory_Result result)
 {
     result = (ChangeCategory_Result)null;
     try
     {
         ChangeCategoryMethod[] methods = new ChangeCategoryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IChangeCategoryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #5
0
        public ResultStatus ExecuteTransaction(
            ChangeCategory cdo,
            ChangeCategory_Request request,
            out ChangeCategory_Result result)
        {
            result = (ChangeCategory_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IChangeCategoryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ChangeCategoryMethod(cdo, ChangeCategoryMethods.ExecuteTransaction, (ChangeCategory_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 GetActions(
            ChangeCategory changeCategory,
            ChangeCategory_Parameters parameters,
            ChangeCategory_Request request,
            out ChangeCategory_Result result)
        {
            result = (ChangeCategory_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)changeCategory, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IChangeCategoryService)this._Channel).GetActions(this._UserProfile, changeCategory, parameters, request, out result) : this.AddMethod((Method) new ChangeCategoryMethod(changeCategory, ChangeCategoryMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)changeCategory, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
예제 #7
0
 public ResultStatus ExecuteTransaction(
     ChangeCategory_Request request,
     out ChangeCategory_Result result)
 {
     return(this.ExecuteTransaction((ChangeCategory)null, request, out result));
 }
예제 #8
0
 public ResultStatus GetEnvironment(
     ChangeCategory_Request request,
     out ChangeCategory_Result result)
 {
     return(this.GetEnvironment((ChangeCategory)null, request, out result));
 }