Hello,
is there a way to pass a TDADeltaChange property as a parameter to a service’s async function or procedure?
lets say i want to log every change of a table, a user does.
Thanks
Yiannis
Hello,
is there a way to pass a TDADeltaChange property as a parameter to a service’s async function or procedure?
lets say i want to log every change of a table, a user does.
Thanks
Yiannis
you can pass delta with single delta change.
it can be done automatically with ruoPost
option
what i want to do is this
I have a service named dataService (DataService_Impl).This dataservice has a DebitorBusinessProcessor that processes changes. i want this changes to be send to a LogService
BusinessProcessor has OnBeforeProcessChange/OnAfterProcessChange events. you can use them for logging
thats what i’m doing now, but i want to use another service for that (if i can of cource). to pass the deltachange as a parameter to a logService’s lets say LogDelta funtion.
logService.LogDelta(AChange: TDADeltaChange): boolean
that function could be async
for using a delta change in async method, you have to create a fake TDelta, initialize it with real data, add a delta change and assign some properties of it manually.
it can be better to generate log message in BP events and pass ready message into async method …
OK. Thanks for your help.