Quantcast
Viewing all articles
Browse latest Browse all 7205

How to track changes made to persistent objects, and write them into a separate table

The OnSaving and OnDeleting method of the persistent objects can be overridden to log create/update/delete actions into a separate table. This example demonstrates the basic implementation of this feature.

Note: eXpressApp Framework have built-in module for Audit purposes. This example demonstrates how to use this module in non XAF application: How to use XAF Audit Trail module outside XAF.

Question Comments

Added By: Mohammed Al-Atari at: 10/8/2014 4:29:24 PM    

what about view record?
do you have code to get the below events
View
Login
Invalid Login
View List

Added By: Alexey (DevExpress Support) at: 10/9/2014 12:05:10 AM    

Hello,

To process your recent post more efficiently, I created a separate ticket on your behalf: T159303: Audit application events. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

Added By: Reinhold Erlacher at: 4/2/2016 11:57:49 AM    Hello, could you help me to extend the sample to  track changes in many-many associations. I'd like to get left and right classes and oids.
Thanks
Reinhold



Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>