public PriorityLevelMaintMethod( PriorityLevelMaint Cdo, PriorityLevelMaintMethods Method, PriorityLevelMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus Freeze( PriorityLevelMaint priorityLevelMaint, PriorityLevelMaint_Parameters parameters, PriorityLevelMaint_Request request, out PriorityLevelMaint_Result result) { result = (PriorityLevelMaint_Result)null; this.OnBeforeCall(nameof(Freeze), (DCObject)priorityLevelMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IPriorityLevelMaintService)this._Channel).Freeze(this._UserProfile, priorityLevelMaint, parameters, request, out result) : this.AddMethod((Method) new PriorityLevelMaintMethod(priorityLevelMaint, PriorityLevelMaintMethods.Freeze, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(Freeze), res, (DCObject)priorityLevelMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }