Example #1
0
 public ResultStatus DeleteAllRevisions(
     ElectronicProcedureMaint electronicProcedureMaint,
     ElectronicProcedureMaint_Request request,
     out ElectronicProcedureMaint_Result result)
 {
     return(this.DeleteAllRevisions(electronicProcedureMaint, (ElectronicProcedureMaint_Parameters)null, request, out result));
 }
Example #2
0
 public ResultStatus UnFreeze(
     ElectronicProcedureMaint electronicProcedureMaint,
     ElectronicProcedureMaint_Request request,
     out ElectronicProcedureMaint_Result result)
 {
     return(this.UnFreeze(electronicProcedureMaint, (ElectronicProcedureMaint_Parameters)null, request, out result));
 }
Example #3
0
 public ResultStatus SaveAsRev(
     ElectronicProcedureMaint electronicProcedureMaint,
     ElectronicProcedureMaint_Request request,
     out ElectronicProcedureMaint_Result result)
 {
     return(this.SaveAsRev(electronicProcedureMaint, (ElectronicProcedureMaint_Parameters)null, request, out result));
 }
Example #4
0
 public ResultStatus NewRevCopy(
     ElectronicProcedureMaint electronicProcedureMaint,
     ElectronicProcedureMaint_Request request,
     out ElectronicProcedureMaint_Result result)
 {
     return(this.NewRevCopy(electronicProcedureMaint, (ElectronicProcedureMaint_Parameters)null, request, out result));
 }
Example #5
0
 public ResultStatus LoadESigDetails(
     ElectronicProcedureMaint electronicProcedureMaint,
     ElectronicProcedureMaint_Request request,
     out ElectronicProcedureMaint_Result result)
 {
     return(this.LoadESigDetails(electronicProcedureMaint, (ElectronicProcedureMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Example #6
0
 public ResultStatus GetWIPMsgs(
     ElectronicProcedureMaint electronicProcedureMaint,
     ElectronicProcedureMaint_Request request,
     out ElectronicProcedureMaint_Result result)
 {
     return(this.GetWIPMsgs(electronicProcedureMaint, (ElectronicProcedureMaint_Parameters)null, request, out result));
 }
Example #7
0
 public ResultStatus GetEnvironment(
     ElectronicProcedureMaint cdo,
     ElectronicProcedureMaint_Request request,
     out ElectronicProcedureMaint_Result result)
 {
     result = (ElectronicProcedureMaint_Result)null;
     try
     {
         return(((IElectronicProcedureMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #8
0
 public ResultStatus CommitTransaction(
     ElectronicProcedureMaint_Request request,
     out ElectronicProcedureMaint_Result result)
 {
     result = (ElectronicProcedureMaint_Result)null;
     try
     {
         ElectronicProcedureMaintMethod[] methods = new ElectronicProcedureMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IElectronicProcedureMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #9
0
        public ResultStatus ExecuteTransaction(
            ElectronicProcedureMaint cdo,
            ElectronicProcedureMaint_Request request,
            out ElectronicProcedureMaint_Result result)
        {
            result = (ElectronicProcedureMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IElectronicProcedureMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ElectronicProcedureMaintMethod(cdo, ElectronicProcedureMaintMethods.ExecuteTransaction, (ElectronicProcedureMaint_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(
            ElectronicProcedureMaint electronicProcedureMaint,
            ElectronicProcedureMaint_Parameters parameters,
            ElectronicProcedureMaint_Request request,
            out ElectronicProcedureMaint_Result result)
        {
            result = (ElectronicProcedureMaint_Result)null;
            this.OnBeforeCall(nameof(DeleteAllRevisions), (DCObject)electronicProcedureMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IElectronicProcedureMaintService)this._Channel).DeleteAllRevisions(this._UserProfile, electronicProcedureMaint, parameters, request, out result) : this.AddMethod((Method) new ElectronicProcedureMaintMethod(electronicProcedureMaint, ElectronicProcedureMaintMethods.DeleteAllRevisions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(DeleteAllRevisions), res, (DCObject)electronicProcedureMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Example #11
0
 public ResultStatus ExecuteTransaction(
     ElectronicProcedureMaint_Request request,
     out ElectronicProcedureMaint_Result result)
 {
     return(this.ExecuteTransaction((ElectronicProcedureMaint)null, request, out result));
 }
Example #12
0
 public ResultStatus GetEnvironment(
     ElectronicProcedureMaint_Request request,
     out ElectronicProcedureMaint_Result result)
 {
     return(this.GetEnvironment((ElectronicProcedureMaint)null, request, out result));
 }