We have a rather large application built off of LLBL, and have discovered that somehow users are able to throw off some of our denormalized data through some unknown action. When the data is off, it is not apparent until months later, in which we need to go in a correct a few tables.
We would like to run a series of audit / checks against the data everytime a save happens that touches one or more of 4 specific tables. Basically, if data is added to one table, it needs to be delete from another. If we check at the time of SaveEntity, it is possible that we run an audit before the second command runs. We would like to run our audit after the entire commit / transaction has been completed, and then if the audit fails, we are planning on kicking out an email with the full stack trace, without alerting the user.
Where in the LLBL Adapter code would we place code to execute after a transaction / commit has completed?