public BusinessProcessSpecMaintMethod( BusinessProcessSpecMaint Cdo, BusinessProcessSpecMaintMethods Method, BusinessProcessSpecMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus DeleteAllRevisions( BusinessProcessSpecMaint businessProcessSpecMaint, BusinessProcessSpecMaint_Parameters parameters, BusinessProcessSpecMaint_Request request, out BusinessProcessSpecMaint_Result result) { result = (BusinessProcessSpecMaint_Result)null; this.OnBeforeCall(nameof(DeleteAllRevisions), (DCObject)businessProcessSpecMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IBusinessProcessSpecMaintService)this._Channel).DeleteAllRevisions(this._UserProfile, businessProcessSpecMaint, parameters, request, out result) : this.AddMethod((Method) new BusinessProcessSpecMaintMethod(businessProcessSpecMaint, BusinessProcessSpecMaintMethods.DeleteAllRevisions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(DeleteAllRevisions), res, (DCObject)businessProcessSpecMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }