public RevisionedObjectMaintMethod( RevisionedObjectMaint Cdo, RevisionedObjectMaintMethods Method, RevisionedObjectMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus ValidateMasterDataCatalog( RevisionedObjectMaint revisionedObjectMaint, RevisionedObjectMaint_Parameters parameters, RevisionedObjectMaint_Request request, out RevisionedObjectMaint_Result result) { result = (RevisionedObjectMaint_Result)null; this.OnBeforeCall(nameof(ValidateMasterDataCatalog), (DCObject)revisionedObjectMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IRevisionedObjectMaintService)this._Channel).ValidateMasterDataCatalog(this._UserProfile, revisionedObjectMaint, parameters, request, out result) : this.AddMethod((Method) new RevisionedObjectMaintMethod(revisionedObjectMaint, RevisionedObjectMaintMethods.ValidateMasterDataCatalog, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(ValidateMasterDataCatalog), res, (DCObject)revisionedObjectMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }