Ef.Audit (obsolete, the new version is EF.Audit.Core)
Easy audit capabilities for EF projects.
First of all, you need to mark all your auditable entities using "Auditable" and "NotAuditable" attributes.
Auditable: Can be used to mark a class (including all properties), or a property as auditable. NotAuditable: Marks a property as not auditable.
IMPORTANT: All your auditable entities needs to be serializable.
- Install EF.Audit nuget package.
- Implement "IAuditDbContext" interface in your context.
- Whenever you need to save context changes call "SaveChangesAndAudit" method instead of "SaveChanges" one.
Biasmey Morgado Guirola (biasmey), José Antonio Plá Rodríguez (jpla2005)
Any contribution is welcomed.