TrackerEnabledDbContext 3.7.0
See the version list below for details.
dotnet add package TrackerEnabledDbContext --version 3.7.0
NuGet\Install-Package TrackerEnabledDbContext -Version 3.7.0
<PackageReference Include="TrackerEnabledDbContext" Version="3.7.0" />
paket add TrackerEnabledDbContext --version 3.7.0
#r "nuget: TrackerEnabledDbContext, 3.7.0"
// Install TrackerEnabledDbContext as a Cake Addin #addin nuget:?package=TrackerEnabledDbContext&version=3.7.0 // Install TrackerEnabledDbContext as a Cake Tool #tool nuget:?package=TrackerEnabledDbContext&version=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
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. |
-
- EntityFramework (>= 6.2.0)
- TrackerEnabledDbContext.Common (>= 3.7.0)
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 | 119,886 | 2/16/2020 |
3.7.0 | 87,208 | 12/30/2018 |
3.6.2-beta | 5,519 | 2/9/2017 |
3.6.1 | 155,487 | 6/26/2016 |
3.6.0 | 8,843 | 5/22/2016 |
3.5.20-beta | 1,327 | 5/21/2016 |
3.5.19-beta | 1,570 | 3/11/2016 |
3.5.15-beta | 1,693 | 3/10/2016 |
3.5.2 | 32,575 | 1/25/2016 |
3.5.1 | 5,195 | 1/13/2016 |
3.5.0 | 20,036 | 11/22/2015 |
3.4.5 | 10,274 | 11/9/2015 |
3.4.0 | 1,700 | 11/4/2015 |
3.3.13 | 1,759 | 10/30/2015 |
3.3.12 | 10,084 | 10/29/2015 |
3.1.0 | 2,192 | 10/15/2015 |
3.0.0-beta | 1,995 | 10/7/2015 |
2.7.0 | 14,659 | 3/26/2015 |
2.6.0 | 4,045 | 11/27/2014 |
2.5.0 | 6,714 | 11/1/2014 |
2.0.0 | 2,539 | 3/24/2014 |
1.1.0 | 2,133 | 11/30/2013 |
1.0.0 | 2,138 | 9/27/2013 |
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