The XAF Audit Trail module is intended to track changes being made in persistent objects. This module uses the AuditTrailService class to track changes and write them to the database. It is possible to use this API in a non-XAF application based on XPO, without creating and configuring the DevExpress.ExpressApp > XafApplication object as it is usually done in XAF apps.
To use these features of the Audit Trial module, you will need to reference the DevExpress.Persistent.BaseImpl and DevExpress.Persistent.Base assemblies, which are part of the standard XAF delivery package.
NOTE: You need to have a valid license for the eXpressApp Framework to use this example.
See Also:
Audit Trail Module Overview
How to reuse XAF Audit Trail module functionality in a non-XAF ASP.NET application
How to track changes made to persistent objects, and write them into a separate table
Question Comments
Added By: Scott Gross at: 4/23/2015 9:45:02 AM
CANNOT use ExplicitUnitOfWork with the Audit Trail Module:
See: https://www.devexpress.com/Support/Center/Question/Details/T205670