public ReleaseReasonMaintMethod( ReleaseReasonMaint Cdo, ReleaseReasonMaintMethods Method, ReleaseReasonMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
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); }