public DictionaryMaintMethod( DictionaryMaint Cdo, DictionaryMaintMethods Method, DictionaryMaint_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus DeleteOrphanDictionaryLabel( DictionaryMaint dictionaryMaint, DictionaryMaint_Parameters parameters, DictionaryMaint_Request request, out DictionaryMaint_Result result) { result = (DictionaryMaint_Result)null; this.OnBeforeCall(nameof(DeleteOrphanDictionaryLabel), (DCObject)dictionaryMaint, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IDictionaryMaintService)this._Channel).DeleteOrphanDictionaryLabel(this._UserProfile, dictionaryMaint, parameters, request, out result) : this.AddMethod((Method) new DictionaryMaintMethod(dictionaryMaint, DictionaryMaintMethods.DeleteOrphanDictionaryLabel, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(DeleteOrphanDictionaryLabel), res, (DCObject)dictionaryMaint, (Parameters)parameters, (Request)request, (Result)result); } return(res); }