public UpdateEventLotsMethod( UpdateEventLots Cdo, UpdateEventLotsMethods Method, UpdateEventLots_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus GetActions( UpdateEventLots updateEventLots, UpdateEventLots_Parameters parameters, UpdateEventLots_Request request, out UpdateEventLots_Result result) { result = (UpdateEventLots_Result)null; this.OnBeforeCall(nameof(GetActions), (DCObject)updateEventLots, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IUpdateEventLotsService)this._Channel).GetActions(this._UserProfile, updateEventLots, parameters, request, out result) : this.AddMethod((Method) new UpdateEventLotsMethod(updateEventLots, UpdateEventLotsMethods.GetActions, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(GetActions), res, (DCObject)updateEventLots, (Parameters)parameters, (Request)request, (Result)result); } return(res); }