1. Home
  2. Docs
  3. Llamachant Framework Modules
  4. Visual Components
  5. Audit Trail Restore

Audit Trail Restore

The Audit Trail Restore feature allows you to restore deleted objects along with their associated objects. In order for this to work, your application must:

  • Inherit from an object that enabled deferred deletion (GCRecord)
  • Include the DevExpress Audit Trail Module and use the Full Auditing Mode

Model Settings

				
					Application -> Options -> CanRestoreFromAuditTrail
				
			

IAuditTrailUser Interface

If you want more control over who can view and/or restore from the audit trail, implement the IAuditTrailUser on a custom user class. 

				
					 namespace LlamachantFramework.Module.Interfaces
 
 public interface IAuditTrailUser
    {
        bool CanViewAuditTrail { get; }
        bool CanRestoreFromAuditTrail { get; }
    }
				
			
Was this article helpful to you? Yes 1 No

How can we help?