Exemple #1
0
 public ResultStatus LoadESigDetails(
     SubstitutionReasonMaint substitutionReasonMaint,
     SubstitutionReasonMaint_Request request,
     out SubstitutionReasonMaint_Result result)
 {
     return(this.LoadESigDetails(substitutionReasonMaint, (SubstitutionReasonMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Exemple #2
0
 public ResultStatus GetWIPMsgs(
     SubstitutionReasonMaint substitutionReasonMaint,
     SubstitutionReasonMaint_Request request,
     out SubstitutionReasonMaint_Result result)
 {
     return(this.GetWIPMsgs(substitutionReasonMaint, (SubstitutionReasonMaint_Parameters)null, request, out result));
 }
Exemple #3
0
 public ResultStatus GetEnvironment(
     SubstitutionReasonMaint cdo,
     SubstitutionReasonMaint_Request request,
     out SubstitutionReasonMaint_Result result)
 {
     result = (SubstitutionReasonMaint_Result)null;
     try
     {
         return(((ISubstitutionReasonMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #4
0
 public ResultStatus CommitTransaction(
     SubstitutionReasonMaint_Request request,
     out SubstitutionReasonMaint_Result result)
 {
     result = (SubstitutionReasonMaint_Result)null;
     try
     {
         SubstitutionReasonMaintMethod[] methods = new SubstitutionReasonMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ISubstitutionReasonMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #5
0
        public ResultStatus ExecuteTransaction(
            SubstitutionReasonMaint cdo,
            SubstitutionReasonMaint_Request request,
            out SubstitutionReasonMaint_Result result)
        {
            result = (SubstitutionReasonMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ISubstitutionReasonMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new SubstitutionReasonMaintMethod(cdo, SubstitutionReasonMaintMethods.ExecuteTransaction, (SubstitutionReasonMaint_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);
        }
Exemple #6
0
        public ResultStatus Freeze(
            SubstitutionReasonMaint substitutionReasonMaint,
            SubstitutionReasonMaint_Parameters parameters,
            SubstitutionReasonMaint_Request request,
            out SubstitutionReasonMaint_Result result)
        {
            result = (SubstitutionReasonMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)substitutionReasonMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ISubstitutionReasonMaintService)this._Channel).Freeze(this._UserProfile, substitutionReasonMaint, parameters, request, out result) : this.AddMethod((Method) new SubstitutionReasonMaintMethod(substitutionReasonMaint, SubstitutionReasonMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)substitutionReasonMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #7
0
 public ResultStatus GetEnvironment(
     SubstitutionReasonMaint_Request request,
     out SubstitutionReasonMaint_Result result)
 {
     return(this.GetEnvironment((SubstitutionReasonMaint)null, request, out result));
 }