Esempio n. 1
0
 public ResultStatus UnFreeze(
     ProductMaint productMaint,
     ProductMaint_Request request,
     out ProductMaint_Result result)
 {
     return(this.UnFreeze(productMaint, (ProductMaint_Parameters)null, request, out result));
 }
Esempio n. 2
0
 public ResultStatus DeleteAllRevisions(
     ProductMaint productMaint,
     ProductMaint_Request request,
     out ProductMaint_Result result)
 {
     return(this.DeleteAllRevisions(productMaint, (ProductMaint_Parameters)null, request, out result));
 }
Esempio n. 3
0
 public ResultStatus SaveAsRev(
     ProductMaint productMaint,
     ProductMaint_Request request,
     out ProductMaint_Result result)
 {
     return(this.SaveAsRev(productMaint, (ProductMaint_Parameters)null, request, out result));
 }
Esempio n. 4
0
 public ResultStatus NewRevCopy(
     ProductMaint productMaint,
     ProductMaint_Request request,
     out ProductMaint_Result result)
 {
     return(this.NewRevCopy(productMaint, (ProductMaint_Parameters)null, request, out result));
 }
Esempio n. 5
0
 public ResultStatus LoadESigDetails(
     ProductMaint productMaint,
     ProductMaint_Request request,
     out ProductMaint_Result result)
 {
     return(this.LoadESigDetails(productMaint, (ProductMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Esempio n. 6
0
 public ResultStatus GetWIPMsgs(
     ProductMaint productMaint,
     ProductMaint_Request request,
     out ProductMaint_Result result)
 {
     return(this.GetWIPMsgs(productMaint, (ProductMaint_Parameters)null, request, out result));
 }
Esempio n. 7
0
 public ResultStatus GetEnvironment(
     ProductMaint cdo,
     ProductMaint_Request request,
     out ProductMaint_Result result)
 {
     result = (ProductMaint_Result)null;
     try
     {
         return(((IProductMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 8
0
 public ResultStatus CommitTransaction(
     ProductMaint_Request request,
     out ProductMaint_Result result)
 {
     result = (ProductMaint_Result)null;
     try
     {
         ProductMaintMethod[] methods = new ProductMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IProductMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 9
0
        public ResultStatus ExecuteTransaction(
            ProductMaint cdo,
            ProductMaint_Request request,
            out ProductMaint_Result result)
        {
            result = (ProductMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IProductMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ProductMaintMethod(cdo, ProductMaintMethods.ExecuteTransaction, (ProductMaint_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);
        }
Esempio n. 10
0
        public ResultStatus DeleteAllRevisions(
            ProductMaint productMaint,
            ProductMaint_Parameters parameters,
            ProductMaint_Request request,
            out ProductMaint_Result result)
        {
            result = (ProductMaint_Result)null;
            this.OnBeforeCall(nameof(DeleteAllRevisions), (DCObject)productMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IProductMaintService)this._Channel).DeleteAllRevisions(this._UserProfile, productMaint, parameters, request, out result) : this.AddMethod((Method) new ProductMaintMethod(productMaint, ProductMaintMethods.DeleteAllRevisions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(DeleteAllRevisions), res, (DCObject)productMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Esempio n. 11
0
 public ResultStatus ExecuteTransaction(
     ProductMaint_Request request,
     out ProductMaint_Result result)
 {
     return(this.ExecuteTransaction((ProductMaint)null, request, out result));
 }
Esempio n. 12
0
 public ResultStatus GetEnvironment(
     ProductMaint_Request request,
     out ProductMaint_Result result)
 {
     return(this.GetEnvironment((ProductMaint)null, request, out result));
 }