i want to invoke a schema update inside for example the afterinsert event of a businessprocessorrule
Sender: TDABusinessProcessor; aChange: TDADeltaChange;
Processed: Boolean; var CanRemoveFromDelta: Boolean)
we now have an altered uDABusinessProcessor.pas in which we keep track of the connection (so added a prop for that)
so we are able to use the connection inside the event:
lCommand := DASchema.NewCommand(Connection, ‘dosomething’);
lCommand.ParamByName(‘myparam’).AsInteger := myinteger;
so is there a way to archieve the same without the need to have a patched unit for that?