public PlanDispositionMaintMethod( PlanDispositionMaint Cdo, PlanDispositionMaintMethods Method, PlanDispositionMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus Freeze( PlanDispositionMaint planDispositionMaint, PlanDispositionMaint_Parameters parameters, PlanDispositionMaint_Request request, out PlanDispositionMaint_Result result) { result = (PlanDispositionMaint_Result)null; this.OnBeforeCall(nameof(Freeze), (DCObject)planDispositionMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IPlanDispositionMaintService)this._Channel).Freeze(this._UserProfile, planDispositionMaint, parameters, request, out result) : this.AddMethod((Method) new PlanDispositionMaintMethod(planDispositionMaint, PlanDispositionMaintMethods.Freeze, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(Freeze), res, (DCObject)planDispositionMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }