public ActionCategoryMaintMethod( ActionCategoryMaint Cdo, ActionCategoryMaintMethods Method, ActionCategoryMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus Freeze( ActionCategoryMaint actionCategoryMaint, ActionCategoryMaint_Parameters parameters, ActionCategoryMaint_Request request, out ActionCategoryMaint_Result result) { result = (ActionCategoryMaint_Result)null; this.OnBeforeCall(nameof(Freeze), (DCObject)actionCategoryMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IActionCategoryMaintService)this._Channel).Freeze(this._UserProfile, actionCategoryMaint, parameters, request, out result) : this.AddMethod((Method) new ActionCategoryMaintMethod(actionCategoryMaint, ActionCategoryMaintMethods.Freeze, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(Freeze), res, (DCObject)actionCategoryMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }