Example #1
0
 public ResultStatus UnFreeze(
     SampleTestMaint sampleTestMaint,
     SampleTestMaint_Request request,
     out SampleTestMaint_Result result)
 {
     return(this.UnFreeze(sampleTestMaint, (SampleTestMaint_Parameters)null, request, out result));
 }
Example #2
0
 public ResultStatus DeleteAllRevisions(
     SampleTestMaint sampleTestMaint,
     SampleTestMaint_Request request,
     out SampleTestMaint_Result result)
 {
     return(this.DeleteAllRevisions(sampleTestMaint, (SampleTestMaint_Parameters)null, request, out result));
 }
Example #3
0
 public ResultStatus SaveAsRev(
     SampleTestMaint sampleTestMaint,
     SampleTestMaint_Request request,
     out SampleTestMaint_Result result)
 {
     return(this.SaveAsRev(sampleTestMaint, (SampleTestMaint_Parameters)null, request, out result));
 }
Example #4
0
 public ResultStatus NewRevCopy(
     SampleTestMaint sampleTestMaint,
     SampleTestMaint_Request request,
     out SampleTestMaint_Result result)
 {
     return(this.NewRevCopy(sampleTestMaint, (SampleTestMaint_Parameters)null, request, out result));
 }
Example #5
0
 public ResultStatus LoadESigDetails(
     SampleTestMaint sampleTestMaint,
     SampleTestMaint_Request request,
     out SampleTestMaint_Result result)
 {
     return(this.LoadESigDetails(sampleTestMaint, (SampleTestMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Example #6
0
 public ResultStatus GetWIPMsgs(
     SampleTestMaint sampleTestMaint,
     SampleTestMaint_Request request,
     out SampleTestMaint_Result result)
 {
     return(this.GetWIPMsgs(sampleTestMaint, (SampleTestMaint_Parameters)null, request, out result));
 }
Example #7
0
 public ResultStatus GetEnvironment(
     SampleTestMaint cdo,
     SampleTestMaint_Request request,
     out SampleTestMaint_Result result)
 {
     result = (SampleTestMaint_Result)null;
     try
     {
         return(((ISampleTestMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #8
0
 public ResultStatus CommitTransaction(
     SampleTestMaint_Request request,
     out SampleTestMaint_Result result)
 {
     result = (SampleTestMaint_Result)null;
     try
     {
         SampleTestMaintMethod[] methods = new SampleTestMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ISampleTestMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #9
0
        public ResultStatus ExecuteTransaction(
            SampleTestMaint cdo,
            SampleTestMaint_Request request,
            out SampleTestMaint_Result result)
        {
            result = (SampleTestMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ISampleTestMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new SampleTestMaintMethod(cdo, SampleTestMaintMethods.ExecuteTransaction, (SampleTestMaint_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(
            SampleTestMaint sampleTestMaint,
            SampleTestMaint_Parameters parameters,
            SampleTestMaint_Request request,
            out SampleTestMaint_Result result)
        {
            result = (SampleTestMaint_Result)null;
            this.OnBeforeCall(nameof(DeleteAllRevisions), (DCObject)sampleTestMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ISampleTestMaintService)this._Channel).DeleteAllRevisions(this._UserProfile, sampleTestMaint, parameters, request, out result) : this.AddMethod((Method) new SampleTestMaintMethod(sampleTestMaint, SampleTestMaintMethods.DeleteAllRevisions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(DeleteAllRevisions), res, (DCObject)sampleTestMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Example #11
0
 public ResultStatus ExecuteTransaction(
     SampleTestMaint_Request request,
     out SampleTestMaint_Result result)
 {
     return(this.ExecuteTransaction((SampleTestMaint)null, request, out result));
 }
Example #12
0
 public ResultStatus GetEnvironment(
     SampleTestMaint_Request request,
     out SampleTestMaint_Result result)
 {
     return(this.GetEnvironment((SampleTestMaint)null, request, out result));
 }