Just inherit AuditingDbContext from your application's DbContext and use the overloaded SaveChange(string userName) instead of the standard SaveChanges().
Info
Version: | 1.0.1 |
Author(s): | Johann Brink |
Last Update: | Tuesday, October 6, 2015 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/EF6Auditing |
Install
Install-Package EF6Auditing
dotnet add package EF6Auditing
paket add EF6Auditing
EF6Auditing Download (Unzip the "nupkg" after downloading)
Dependencies
- EntityFramework(6.1.3)