on Before Commit
A callback invoked before committing the transaction.
Parameters
entity Record
the entity modified within the transaction
A callback invoked before committing the transaction.
the entity modified within the transaction