TrackerEnabledDbContext 2.7.0
dotnet add package TrackerEnabledDbContext --version 2.7.0
NuGet\Install-Package TrackerEnabledDbContext -Version 2.7.0
<PackageReference Include="TrackerEnabledDbContext" Version="2.7.0" />
paket add TrackerEnabledDbContext --version 2.7.0
#r "nuget: TrackerEnabledDbContext, 2.7.0"
// Install TrackerEnabledDbContext as a Cake Addin #addin nuget:?package=TrackerEnabledDbContext&version=2.7.0 // Install TrackerEnabledDbContext as a Cake Tool #tool nuget:?package=TrackerEnabledDbContext&version=2.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
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.5
- EntityFramework (>= 6.1.3)
- TrackerEnabledDbContext.Common (>= 1.1.0)
GitHub repositories
This package is not used by any popular GitHub repositories.
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