public SPCChartDefMaintMethod( SPCChartDefMaint Cdo, SPCChartDefMaintMethods Method, SPCChartDefMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus Freeze( SPCChartDefMaint sPCChartDefMaint, SPCChartDefMaint_Parameters parameters, SPCChartDefMaint_Request request, out SPCChartDefMaint_Result result) { result = (SPCChartDefMaint_Result)null; this.OnBeforeCall(nameof(Freeze), (DCObject)sPCChartDefMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((ISPCChartDefMaintService)this._Channel).Freeze(this._UserProfile, sPCChartDefMaint, parameters, request, out result) : this.AddMethod((Method) new SPCChartDefMaintMethod(sPCChartDefMaint, SPCChartDefMaintMethods.Freeze, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(Freeze), res, (DCObject)sPCChartDefMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }