Пример #1
0
 public ResultStatus Freeze(
     UOMMaint uOMMaint,
     UOMMaint_Request request,
     out UOMMaint_Result result)
 {
     return(this.Freeze(uOMMaint, (UOMMaint_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus SaveAs(
     UOMMaint uOMMaint,
     UOMMaint_Request request,
     out UOMMaint_Result result)
 {
     return(this.SaveAs(uOMMaint, (UOMMaint_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus NewCopy(
     UOMMaint uOMMaint,
     UOMMaint_Request request,
     out UOMMaint_Result result)
 {
     return(this.NewCopy(uOMMaint, (UOMMaint_Parameters)null, request, out result));
 }
Пример #4
0
 public ResultStatus LoadESigDetails(
     UOMMaint uOMMaint,
     UOMMaint_Request request,
     out UOMMaint_Result result)
 {
     return(this.LoadESigDetails(uOMMaint, (UOMMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Пример #5
0
 public ResultStatus GetEnvironment(
     UOMMaint cdo,
     UOMMaint_Request request,
     out UOMMaint_Result result)
 {
     result = (UOMMaint_Result)null;
     try
     {
         return(((IUOMMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #6
0
 public ResultStatus CommitTransaction(
     UOMMaint_Request request,
     out UOMMaint_Result result)
 {
     result = (UOMMaint_Result)null;
     try
     {
         UOMMaintMethod[] methods = new UOMMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IUOMMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #7
0
        public ResultStatus ExecuteTransaction(
            UOMMaint cdo,
            UOMMaint_Request request,
            out UOMMaint_Result result)
        {
            result = (UOMMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUOMMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new UOMMaintMethod(cdo, UOMMaintMethods.ExecuteTransaction, (UOMMaint_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);
        }
Пример #8
0
        public ResultStatus Freeze(
            UOMMaint uOMMaint,
            UOMMaint_Parameters parameters,
            UOMMaint_Request request,
            out UOMMaint_Result result)
        {
            result = (UOMMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)uOMMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IUOMMaintService)this._Channel).Freeze(this._UserProfile, uOMMaint, parameters, request, out result) : this.AddMethod((Method) new UOMMaintMethod(uOMMaint, UOMMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)uOMMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #9
0
 public ResultStatus ExecuteTransaction(
     UOMMaint_Request request,
     out UOMMaint_Result result)
 {
     return(this.ExecuteTransaction((UOMMaint)null, request, out result));
 }
Пример #10
0
 public ResultStatus GetEnvironment(
     UOMMaint_Request request,
     out UOMMaint_Result result)
 {
     return(this.GetEnvironment((UOMMaint)null, request, out result));
 }