Skip to content

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Ef.Audit (obsolete, the new version is EF.Audit.Core)

Easy audit capabilities for EF projects.

Auditable Entities

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.

Enable Audit

  1. Install EF.Audit nuget package.
  2. Implement "IAuditDbContext" interface in your context.
  3. Whenever you need to save context changes call "SaveChangesAndAudit" method instead of "SaveChanges" one.

Authors and Contributors

Biasmey Morgado Guirola (biasmey), José Antonio Plá Rodríguez (jpla2005)

Contributions

Any contribution is welcomed.

About

Easy audit capabilities for EF projects.

Resources

Stars

13 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages