예제 #1
0
 public ResultStatus UnFreeze(
     BOMMaint bOMMaint,
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     return(this.UnFreeze(bOMMaint, (BOMMaint_Parameters)null, request, out result));
 }
예제 #2
0
 public ResultStatus DeleteAllRevisions(
     BOMMaint bOMMaint,
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     return(this.DeleteAllRevisions(bOMMaint, (BOMMaint_Parameters)null, request, out result));
 }
예제 #3
0
 public ResultStatus SaveAsRev(
     BOMMaint bOMMaint,
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     return(this.SaveAsRev(bOMMaint, (BOMMaint_Parameters)null, request, out result));
 }
예제 #4
0
 public ResultStatus NewRevCopy(
     BOMMaint bOMMaint,
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     return(this.NewRevCopy(bOMMaint, (BOMMaint_Parameters)null, request, out result));
 }
예제 #5
0
 public ResultStatus LoadESigDetails(
     BOMMaint bOMMaint,
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     return(this.LoadESigDetails(bOMMaint, (BOMMaint_LoadESigDetails_Parameters)null, request, out result));
 }
예제 #6
0
 public ResultStatus GetWIPMsgs(
     BOMMaint bOMMaint,
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     return(this.GetWIPMsgs(bOMMaint, (BOMMaint_Parameters)null, request, out result));
 }
예제 #7
0
 public ResultStatus GetEnvironment(
     BOMMaint cdo,
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     result = (BOMMaint_Result)null;
     try
     {
         return(((IBOMMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #8
0
 public ResultStatus CommitTransaction(
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     result = (BOMMaint_Result)null;
     try
     {
         BOMMaintMethod[] methods = new BOMMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IBOMMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
예제 #9
0
        public ResultStatus ExecuteTransaction(
            BOMMaint cdo,
            BOMMaint_Request request,
            out BOMMaint_Result result)
        {
            result = (BOMMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IBOMMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new BOMMaintMethod(cdo, BOMMaintMethods.ExecuteTransaction, (BOMMaint_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);
        }
예제 #10
0
        public ResultStatus DeleteAllRevisions(
            BOMMaint bOMMaint,
            BOMMaint_Parameters parameters,
            BOMMaint_Request request,
            out BOMMaint_Result result)
        {
            result = (BOMMaint_Result)null;
            this.OnBeforeCall(nameof(DeleteAllRevisions), (DCObject)bOMMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IBOMMaintService)this._Channel).DeleteAllRevisions(this._UserProfile, bOMMaint, parameters, request, out result) : this.AddMethod((Method) new BOMMaintMethod(bOMMaint, BOMMaintMethods.DeleteAllRevisions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(DeleteAllRevisions), res, (DCObject)bOMMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
예제 #11
0
 public ResultStatus ExecuteTransaction(
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     return(this.ExecuteTransaction((BOMMaint)null, request, out result));
 }
예제 #12
0
 public ResultStatus GetEnvironment(
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     return(this.GetEnvironment((BOMMaint)null, request, out result));
 }