Пример #1
0
 public ResultStatus UnFreeze(
     RecipeMaint recipeMaint,
     RecipeMaint_Request request,
     out RecipeMaint_Result result)
 {
     return(this.UnFreeze(recipeMaint, (RecipeMaint_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus DeleteAllRevisions(
     RecipeMaint recipeMaint,
     RecipeMaint_Request request,
     out RecipeMaint_Result result)
 {
     return(this.DeleteAllRevisions(recipeMaint, (RecipeMaint_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus SaveAsRev(
     RecipeMaint recipeMaint,
     RecipeMaint_Request request,
     out RecipeMaint_Result result)
 {
     return(this.SaveAsRev(recipeMaint, (RecipeMaint_Parameters)null, request, out result));
 }
Пример #4
0
 public ResultStatus NewRevCopy(
     RecipeMaint recipeMaint,
     RecipeMaint_Request request,
     out RecipeMaint_Result result)
 {
     return(this.NewRevCopy(recipeMaint, (RecipeMaint_Parameters)null, request, out result));
 }
Пример #5
0
 public ResultStatus LoadESigDetails(
     RecipeMaint recipeMaint,
     RecipeMaint_Request request,
     out RecipeMaint_Result result)
 {
     return(this.LoadESigDetails(recipeMaint, (RecipeMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Пример #6
0
 public ResultStatus GetWIPMsgs(
     RecipeMaint recipeMaint,
     RecipeMaint_Request request,
     out RecipeMaint_Result result)
 {
     return(this.GetWIPMsgs(recipeMaint, (RecipeMaint_Parameters)null, request, out result));
 }
Пример #7
0
 public ResultStatus DownloadFile(
     RecipeMaint recipeMaint,
     RecipeMaint_Request request,
     out RecipeMaint_Result result)
 {
     return(this.DownloadFile(recipeMaint, (RecipeMaint_Parameters)null, request, out result));
 }
Пример #8
0
 public ResultStatus GetEnvironment(
     RecipeMaint cdo,
     RecipeMaint_Request request,
     out RecipeMaint_Result result)
 {
     result = (RecipeMaint_Result)null;
     try
     {
         return(((IRecipeMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #9
0
 public ResultStatus CommitTransaction(
     RecipeMaint_Request request,
     out RecipeMaint_Result result)
 {
     result = (RecipeMaint_Result)null;
     try
     {
         RecipeMaintMethod[] methods = new RecipeMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IRecipeMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #10
0
        public ResultStatus ExecuteTransaction(
            RecipeMaint cdo,
            RecipeMaint_Request request,
            out RecipeMaint_Result result)
        {
            result = (RecipeMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IRecipeMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new RecipeMaintMethod(cdo, RecipeMaintMethods.ExecuteTransaction, (RecipeMaint_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);
        }
Пример #11
0
        public ResultStatus DeleteAllRevisions(
            RecipeMaint recipeMaint,
            RecipeMaint_Parameters parameters,
            RecipeMaint_Request request,
            out RecipeMaint_Result result)
        {
            result = (RecipeMaint_Result)null;
            this.OnBeforeCall(nameof(DeleteAllRevisions), (DCObject)recipeMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IRecipeMaintService)this._Channel).DeleteAllRevisions(this._UserProfile, recipeMaint, parameters, request, out result) : this.AddMethod((Method) new RecipeMaintMethod(recipeMaint, RecipeMaintMethods.DeleteAllRevisions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(DeleteAllRevisions), res, (DCObject)recipeMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #12
0
 public ResultStatus GetEnvironment(
     RecipeMaint_Request request,
     out RecipeMaint_Result result)
 {
     return(this.GetEnvironment((RecipeMaint)null, request, out result));
 }
Пример #13
0
 public ResultStatus ExecuteTransaction(
     RecipeMaint_Request request,
     out RecipeMaint_Result result)
 {
     return(this.ExecuteTransaction((RecipeMaint)null, request, out result));
 }