public ProductionProcessMaintMethod( ProductionProcessMaint Cdo, ProductionProcessMaintMethods Method, ProductionProcessMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus DeleteAllRevisions( ProductionProcessMaint productionProcessMaint, ProductionProcessMaint_Parameters parameters, ProductionProcessMaint_Request request, out ProductionProcessMaint_Result result) { result = (ProductionProcessMaint_Result)null; this.OnBeforeCall(nameof(DeleteAllRevisions), (DCObject)productionProcessMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IProductionProcessMaintService)this._Channel).DeleteAllRevisions(this._UserProfile, productionProcessMaint, parameters, request, out result) : this.AddMethod((Method) new ProductionProcessMaintMethod(productionProcessMaint, ProductionProcessMaintMethods.DeleteAllRevisions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(DeleteAllRevisions), res, (DCObject)productionProcessMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }