TrackerEnabledDbContext 3.6.2-beta
See the version list below for details.
dotnet add package TrackerEnabledDbContext --version 3.6.2-beta
NuGet\Install-Package TrackerEnabledDbContext -Version 3.6.2-beta
<PackageReference Include="TrackerEnabledDbContext" Version="3.6.2-beta" />
paket add TrackerEnabledDbContext --version 3.6.2-beta
#r "nuget: TrackerEnabledDbContext, 3.6.2-beta"
// Install TrackerEnabledDbContext as a Cake Addin #addin nuget:?package=TrackerEnabledDbContext&version=3.6.2-beta&prerelease // Install TrackerEnabledDbContext as a Cake Tool #tool nuget:?package=TrackerEnabledDbContext&version=3.6.2-beta&prerelease
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 (>= 3.6.2-beta)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on TrackerEnabledDbContext:
Package | Downloads |
---|---|
AutoClutch.AutoRepo
AutoClutch.AutoRepo is a simple generic repository for Entity Framework 6 that can be used to save you coding time when creating a data layer. |
|
AE.Utils.Data
Internal use only. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.8.3 | 122,055 | 2/16/2020 |
3.7.0 | 88,836 | 12/30/2018 |
3.6.2-beta | 5,545 | 2/9/2017 |
3.6.1 | 157,791 | 6/26/2016 |
3.6.0 | 9,052 | 5/22/2016 |
3.5.20-beta | 1,332 | 5/21/2016 |
3.5.19-beta | 1,575 | 3/11/2016 |
3.5.15-beta | 1,700 | 3/10/2016 |
3.5.2 | 32,784 | 1/25/2016 |
3.5.1 | 5,202 | 1/13/2016 |
3.5.0 | 20,100 | 11/22/2015 |
3.4.5 | 10,281 | 11/9/2015 |
3.4.0 | 1,707 | 11/4/2015 |
3.3.13 | 1,766 | 10/30/2015 |
3.3.12 | 10,118 | 10/29/2015 |
3.1.0 | 2,201 | 10/15/2015 |
3.0.0-beta | 2,002 | 10/7/2015 |
2.7.0 | 15,016 | 3/26/2015 |
2.6.0 | 4,055 | 11/27/2014 |
2.5.0 | 6,828 | 11/1/2014 |
2.0.0 | 2,555 | 3/24/2014 |
1.1.0 | 2,148 | 11/30/2013 |
1.0.0 | 2,154 | 9/27/2013 |
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