public ApprovalDecisionListMaintMethod( ApprovalDecisionListMaint Cdo, ApprovalDecisionListMaintMethods Method, ApprovalDecisionListMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus Freeze( ApprovalDecisionListMaint approvalDecisionListMaint, ApprovalDecisionListMaint_Parameters parameters, ApprovalDecisionListMaint_Request request, out ApprovalDecisionListMaint_Result result) { result = (ApprovalDecisionListMaint_Result)null; this.OnBeforeCall(nameof(Freeze), (DCObject)approvalDecisionListMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IApprovalDecisionListMaintService)this._Channel).Freeze(this._UserProfile, approvalDecisionListMaint, parameters, request, out result) : this.AddMethod((Method) new ApprovalDecisionListMaintMethod(approvalDecisionListMaint, ApprovalDecisionListMaintMethods.Freeze, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(Freeze), res, (DCObject)approvalDecisionListMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }