This question is locked. New answers and comments are not allowed.
Hi,
There are 3 events available via IInstanceCallbacks interface. It would be very nice to have this interface extended, including "PostStore" method. It should be called immedietely after commiting transaction and saving changes to the database.
A simple use case: tracking creation and modifications of the object in a self-made event log. This cannot be done by PreStore because:
There are 3 events available via IInstanceCallbacks interface. It would be very nice to have this interface extended, including "PostStore" method. It should be called immedietely after commiting transaction and saving changes to the database.
A simple use case: tracking creation and modifications of the object in a self-made event log. This cannot be done by PreStore because:
- if the object is being created its ID (that is autoincrement type) is not known yet - the log entry cannot refer to this object
- it is not good to write to the log in the same transaction - failing to write to the log will abandon the object's changes; but if I use another scope and transation to log and the main transaction would fail - there would be incorrect entry in the log
Regards
Tomasz