Example #1
0
 public ResultStatus UnFreeze(
     SamplingPlanMaint samplingPlanMaint,
     SamplingPlanMaint_Request request,
     out SamplingPlanMaint_Result result)
 {
     return(this.UnFreeze(samplingPlanMaint, (SamplingPlanMaint_Parameters)null, request, out result));
 }
Example #2
0
 public ResultStatus DeleteAllRevisions(
     SamplingPlanMaint samplingPlanMaint,
     SamplingPlanMaint_Request request,
     out SamplingPlanMaint_Result result)
 {
     return(this.DeleteAllRevisions(samplingPlanMaint, (SamplingPlanMaint_Parameters)null, request, out result));
 }
Example #3
0
 public ResultStatus SaveAsRev(
     SamplingPlanMaint samplingPlanMaint,
     SamplingPlanMaint_Request request,
     out SamplingPlanMaint_Result result)
 {
     return(this.SaveAsRev(samplingPlanMaint, (SamplingPlanMaint_Parameters)null, request, out result));
 }
Example #4
0
 public ResultStatus NewRevCopy(
     SamplingPlanMaint samplingPlanMaint,
     SamplingPlanMaint_Request request,
     out SamplingPlanMaint_Result result)
 {
     return(this.NewRevCopy(samplingPlanMaint, (SamplingPlanMaint_Parameters)null, request, out result));
 }
Example #5
0
 public ResultStatus LoadESigDetails(
     SamplingPlanMaint samplingPlanMaint,
     SamplingPlanMaint_Request request,
     out SamplingPlanMaint_Result result)
 {
     return(this.LoadESigDetails(samplingPlanMaint, (SamplingPlanMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Example #6
0
 public ResultStatus GetWIPMsgs(
     SamplingPlanMaint samplingPlanMaint,
     SamplingPlanMaint_Request request,
     out SamplingPlanMaint_Result result)
 {
     return(this.GetWIPMsgs(samplingPlanMaint, (SamplingPlanMaint_Parameters)null, request, out result));
 }
Example #7
0
 public ResultStatus GetEnvironment(
     SamplingPlanMaint cdo,
     SamplingPlanMaint_Request request,
     out SamplingPlanMaint_Result result)
 {
     result = (SamplingPlanMaint_Result)null;
     try
     {
         return(((ISamplingPlanMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #8
0
 public ResultStatus CommitTransaction(
     SamplingPlanMaint_Request request,
     out SamplingPlanMaint_Result result)
 {
     result = (SamplingPlanMaint_Result)null;
     try
     {
         SamplingPlanMaintMethod[] methods = new SamplingPlanMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ISamplingPlanMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #9
0
        public ResultStatus ExecuteTransaction(
            SamplingPlanMaint cdo,
            SamplingPlanMaint_Request request,
            out SamplingPlanMaint_Result result)
        {
            result = (SamplingPlanMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ISamplingPlanMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new SamplingPlanMaintMethod(cdo, SamplingPlanMaintMethods.ExecuteTransaction, (SamplingPlanMaint_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 #10
0
        public ResultStatus DeleteAllRevisions(
            SamplingPlanMaint samplingPlanMaint,
            SamplingPlanMaint_Parameters parameters,
            SamplingPlanMaint_Request request,
            out SamplingPlanMaint_Result result)
        {
            result = (SamplingPlanMaint_Result)null;
            this.OnBeforeCall(nameof(DeleteAllRevisions), (DCObject)samplingPlanMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ISamplingPlanMaintService)this._Channel).DeleteAllRevisions(this._UserProfile, samplingPlanMaint, parameters, request, out result) : this.AddMethod((Method) new SamplingPlanMaintMethod(samplingPlanMaint, SamplingPlanMaintMethods.DeleteAllRevisions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(DeleteAllRevisions), res, (DCObject)samplingPlanMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Example #11
0
 public ResultStatus ExecuteTransaction(
     SamplingPlanMaint_Request request,
     out SamplingPlanMaint_Result result)
 {
     return(this.ExecuteTransaction((SamplingPlanMaint)null, request, out result));
 }
Example #12
0
 public ResultStatus GetEnvironment(
     SamplingPlanMaint_Request request,
     out SamplingPlanMaint_Result result)
 {
     return(this.GetEnvironment((SamplingPlanMaint)null, request, out result));
 }