Example #1
0
 public ResultStatus Freeze(
     UserCodeWithWMMaint userCodeWithWMMaint,
     UserCodeWithWMMaint_Request request,
     out UserCodeWithWMMaint_Result result)
 {
     return(this.Freeze(userCodeWithWMMaint, (UserCodeWithWMMaint_Parameters)null, request, out result));
 }
Example #2
0
 public ResultStatus LoadESigDetails(
     UserCodeWithWMMaint userCodeWithWMMaint,
     UserCodeWithWMMaint_Request request,
     out UserCodeWithWMMaint_Result result)
 {
     return(this.LoadESigDetails(userCodeWithWMMaint, (UserCodeWithWMMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Example #3
0
 public ResultStatus GetWIPMsgs(
     UserCodeWithWMMaint userCodeWithWMMaint,
     UserCodeWithWMMaint_Request request,
     out UserCodeWithWMMaint_Result result)
 {
     return(this.GetWIPMsgs(userCodeWithWMMaint, (UserCodeWithWMMaint_Parameters)null, request, out result));
 }
Example #4
0
 public UserCodeWithWMMaintMethod(
     UserCodeWithWMMaint Cdo,
     UserCodeWithWMMaintMethods Method,
     UserCodeWithWMMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Example #5
0
 public ResultStatus GetEnvironment(
     UserCodeWithWMMaint cdo,
     UserCodeWithWMMaint_Request request,
     out UserCodeWithWMMaint_Result result)
 {
     result = (UserCodeWithWMMaint_Result)null;
     try
     {
         return(((IUserCodeWithWMMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #6
0
        public ResultStatus AddDataTransaction(UserCodeWithWMMaint cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new UserCodeWithWMMaintMethod(cdo, UserCodeWithWMMaintMethods.AddDataTransaction, (UserCodeWithWMMaint_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);
        }
Example #7
0
        public ResultStatus ExecuteTransaction(
            UserCodeWithWMMaint cdo,
            UserCodeWithWMMaint_Request request,
            out UserCodeWithWMMaint_Result result)
        {
            result = (UserCodeWithWMMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUserCodeWithWMMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new UserCodeWithWMMaintMethod(cdo, UserCodeWithWMMaintMethods.ExecuteTransaction, (UserCodeWithWMMaint_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);
        }
Example #8
0
        public ResultStatus Freeze(
            UserCodeWithWMMaint userCodeWithWMMaint,
            UserCodeWithWMMaint_Parameters parameters,
            UserCodeWithWMMaint_Request request,
            out UserCodeWithWMMaint_Result result)
        {
            result = (UserCodeWithWMMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)userCodeWithWMMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUserCodeWithWMMaintService)this._Channel).Freeze(this._UserProfile, userCodeWithWMMaint, parameters, request, out result) : this.AddMethod((Method) new UserCodeWithWMMaintMethod(userCodeWithWMMaint, UserCodeWithWMMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)userCodeWithWMMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Example #9
0
 public ResultStatus ExecuteTransaction(UserCodeWithWMMaint cdo)
 {
     return(this.ExecuteTransaction(cdo, (UserCodeWithWMMaint_Request)null, out UserCodeWithWMMaint_Result _));
 }
Example #10
0
 public ResultStatus Delete(UserCodeWithWMMaint userCodeWithWMMaint)
 {
     return(this.Delete(userCodeWithWMMaint, (UserCodeWithWMMaint_Parameters)null, (UserCodeWithWMMaint_Request)null, out UserCodeWithWMMaint_Result _));
 }