示例#1
0
 public ResultStatus LoadESigDetails(
     UserCodeGroupMaint userCodeGroupMaint,
     UserCodeGroupMaint_Request request,
     out UserCodeGroupMaint_Result result)
 {
     return(this.LoadESigDetails(userCodeGroupMaint, (UserCodeGroupMaint_LoadESigDetails_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus Freeze(
     UserCodeGroupMaint userCodeGroupMaint,
     UserCodeGroupMaint_Request request,
     out UserCodeGroupMaint_Result result)
 {
     return(this.Freeze(userCodeGroupMaint, (UserCodeGroupMaint_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus GetWIPMsgs(
     UserCodeGroupMaint userCodeGroupMaint,
     UserCodeGroupMaint_Request request,
     out UserCodeGroupMaint_Result result)
 {
     return(this.GetWIPMsgs(userCodeGroupMaint, (UserCodeGroupMaint_Parameters)null, request, out result));
 }
示例#4
0
 public ResultStatus GetEnvironment(
     UserCodeGroupMaint cdo,
     UserCodeGroupMaint_Request request,
     out UserCodeGroupMaint_Result result)
 {
     result = (UserCodeGroupMaint_Result)null;
     try
     {
         return(((IUserCodeGroupMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#5
0
 public ResultStatus CommitTransaction(
     UserCodeGroupMaint_Request request,
     out UserCodeGroupMaint_Result result)
 {
     result = (UserCodeGroupMaint_Result)null;
     try
     {
         UserCodeGroupMaintMethod[] methods = new UserCodeGroupMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IUserCodeGroupMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#6
0
        public ResultStatus ExecuteTransaction(
            UserCodeGroupMaint cdo,
            UserCodeGroupMaint_Request request,
            out UserCodeGroupMaint_Result result)
        {
            result = (UserCodeGroupMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUserCodeGroupMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new UserCodeGroupMaintMethod(cdo, UserCodeGroupMaintMethods.ExecuteTransaction, (UserCodeGroupMaint_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);
        }
示例#7
0
        public ResultStatus Freeze(
            UserCodeGroupMaint userCodeGroupMaint,
            UserCodeGroupMaint_Parameters parameters,
            UserCodeGroupMaint_Request request,
            out UserCodeGroupMaint_Result result)
        {
            result = (UserCodeGroupMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)userCodeGroupMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUserCodeGroupMaintService)this._Channel).Freeze(this._UserProfile, userCodeGroupMaint, parameters, request, out result) : this.AddMethod((Method) new UserCodeGroupMaintMethod(userCodeGroupMaint, UserCodeGroupMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)userCodeGroupMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#8
0
 public ResultStatus ExecuteTransaction(
     UserCodeGroupMaint_Request request,
     out UserCodeGroupMaint_Result result)
 {
     return(this.ExecuteTransaction((UserCodeGroupMaint)null, request, out result));
 }
示例#9
0
 public ResultStatus GetEnvironment(
     UserCodeGroupMaint_Request request,
     out UserCodeGroupMaint_Result result)
 {
     return(this.GetEnvironment((UserCodeGroupMaint)null, request, out result));
 }