Example #1
0
        public ResultStatus Freeze(
            ReleaseReasonMaint releaseReasonMaint,
            ReleaseReasonMaint_Parameters parameters,
            ReleaseReasonMaint_Request request,
            out ReleaseReasonMaint_Result result)
        {
            result = (ReleaseReasonMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)releaseReasonMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IReleaseReasonMaintService)this._Channel).Freeze(this._UserProfile, releaseReasonMaint, parameters, request, out result) : this.AddMethod((Method) new ReleaseReasonMaintMethod(releaseReasonMaint, ReleaseReasonMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)releaseReasonMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Example #2
0
 public ResultStatus ExecuteTransaction(
     ReleaseReasonMaint_Request request,
     out ReleaseReasonMaint_Result result)
 {
     return(this.ExecuteTransaction((ReleaseReasonMaint)null, request, out result));
 }
Example #3
0
 public ResultStatus GetEnvironment(
     ReleaseReasonMaint_Request request,
     out ReleaseReasonMaint_Result result)
 {
     return(this.GetEnvironment((ReleaseReasonMaint)null, request, out result));
 }