public ChangeMgtTxnMethod( ChangeMgtTxn Cdo, ChangeMgtTxnMethods Method, ChangeMgtTxn_Parameters Parameters) { this.Cdo = Cdo; this.ServiceMethod = Method; this.Parameters = Parameters; }
public ResultStatus CreateParametricData( ChangeMgtTxn changeMgtTxn, ChangeMgtTxn_Parameters parameters, ChangeMgtTxn_Request request, out ChangeMgtTxn_Result result) { result = (ChangeMgtTxn_Result)null; this.OnBeforeCall(nameof(CreateParametricData), (DCObject)changeMgtTxn, (Parameters)parameters, (Request)request); ResultStatus res; try { res = !this._IsTransactionOpened ? ((IChangeMgtTxnService)this._Channel).CreateParametricData(this._UserProfile, changeMgtTxn, parameters, request, out result) : this.AddMethod((Method) new ChangeMgtTxnMethod(changeMgtTxn, ChangeMgtTxnMethods.CreateParametricData, parameters)); } catch (Exception ex) { res = this.OnThrowException(ex); } if (res.IsSuccess) { this.OnAfterCall(nameof(CreateParametricData), res, (DCObject)changeMgtTxn, (Parameters)parameters, (Request)request, (Result)result); } return(res); }