public ResultStatus Combine_QuantityExecute( Combine combine, Combine_Parameters parameters, Combine_Request request, out Combine_Result result) { result = (Combine_Result)null; this.OnBeforeCall(nameof(Combine_QuantityExecute), (DCObject)combine, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((ICombineService)this._Channel).Combine_QuantityExecute(this._UserProfile, combine, parameters, request, out result) : this.AddMethod((Method) new CombineMethod(combine, CombineMethods.Combine_QuantityExecute, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(Combine_QuantityExecute), res, (DCObject)combine, (Parameters)parameters, (Request)request, (Result)result); } return(res); }
public CombineMethod(Combine Cdo, CombineMethods Method, Combine_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }