TrackerEnabledDbContext 3.7.0

Use this to extend Entity Framework functionality to store changes in database. This is very useful for auditing purpose. It stores WHO changed WHAT and WHEN. It will let you choose which tables and columns you want to track with the help of attributes.

     NOTE: TO USE WITH ASP.NET MVC 5 IDENTITY, USE : TrackerEnabledDbContext.Identity

     Click here to get started : http://bilal-fazlani.blogspot.in/2013/09/adding-log-audit-feature-to-entity.html

Install-Package TrackerEnabledDbContext -Version 3.7.0
dotnet add package TrackerEnabledDbContext --version 3.7.0
<PackageReference Include="TrackerEnabledDbContext" Version="3.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TrackerEnabledDbContext --version 3.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

v 3.7
     - Removed all references/usages to EntityFramework.MappingApi

     v 3.6.2-beta
     Added context specific tracking enabled indicator.
     Added support for complex types
     Performance Improvements

     v 3.6.1
     - Added feature to add metadata with audit logs
     - Made mathods vitual so that devs can override if needed

     v 3.6
     - Fixed bug where application would crash when deleting a soft-deletable object.
     - Removing serilog integration ( use events to dump logs manually )

     v 3.5.20-beta
     Added "ConfigureUsername(Func<string>) method on dbcontext. Once configured, you dont have to specify useraname in all SaveChanges() calls.

     v 3.5.15-beta
     Added integration with Serilog. An ILogger can now be provided to ITrackerContext. If you decide you ILogger for logging audit logs, you can take advantage of any Serilog sinks, such as MongoDb. ElasticSearch, Seq, etc.

     v 3.5.2
     Users can now use the event to make changes to log & ENTITY before the log gets saved. This can be useful for scenarios when you have fields like - LastModified or LastModifiedBy.

     v 3.5.1
     Fixed MySQL compatibility issues

     v 3.5
     Added an event when log is generated and before it is saved to local database. This event can be used to save log to external datastore instead of local.
     https://github.com/bilal-fazlani/tracker-enabled-dbcontext/wiki/Events

     v3.4
     Added Softdeletable feature
     Bug fixes

     v3.3
     Added Support for Disconnected contexts (for n-tier applications)
     Bug Fixes
     Minor Improvements

     v3.1
     - configure tracking without annotation with the help of FLUENT API
     - enable/disable tracking at runtime
     - various bug fixes
     - performance improvements
     - ability to migrate legacy log data

     v2.7
     - even if you dont provide a username/userId (anonymous user) , entity will be audited.
     - no need to add the [Key] attribute. It's optional now.
     - fixed the bug where changes din't get audited when "db.Entry(update).State = EntityState.Modified" was used
     - added async support
     - added support for composite primary keys
     - improved performance
     -----------------------------------------------
     - Performance & Reliability Improvements
     - Bug Fixes
     -----------------------------------------------
     - Added GetLogs<>()  method
     - Bug Fixes
     - Performance Improvements

     http://bilal-fazlani.blogspot.in/2013/09/adding-log-audit-feature-to-entity.html

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.7.0 8,214 12/30/2018
3.6.2-beta 3,010 2/9/2017
3.6.1 52,363 6/26/2016
3.6.0 3,002 5/22/2016
3.5.20-beta 262 5/21/2016
3.5.19-beta 454 3/11/2016
3.5.15-beta 425 3/10/2016
3.5.2 12,720 1/25/2016
3.5.1 3,702 1/13/2016
3.5.0 6,510 11/22/2015
3.4.5 8,204 11/9/2015
3.4.0 431 11/4/2015
3.3.13 470 10/30/2015
3.3.12 1,499 10/29/2015
3.1.0 898 10/15/2015
3.0.0-beta 474 10/7/2015
2.7.0 4,799 3/26/2015
2.6.0 2,152 11/27/2014
2.5.0 1,975 11/1/2014
2.0.0 929 3/24/2014
1.1.0 579 11/30/2013
1.0.0 648 9/27/2013