Notification function called whenever an OdDbObject has been erased or unerased.
This function is called after the operation.