EfAudit 1.0.24

There is a newer version of this package available.
See the version list below for details.
dotnet add package EfAudit --version 1.0.24                
NuGet\Install-Package EfAudit -Version 1.0.24                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EfAudit" Version="1.0.24" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EfAudit --version 1.0.24                
#r "nuget: EfAudit, 1.0.24"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EfAudit as a Cake Addin
#addin nuget:?package=EfAudit&version=1.0.24

// Install EfAudit as a Cake Tool
#tool nuget:?package=EfAudit&version=1.0.24                

EfAudit ci

EfAuditTrail

Entity Framework AuditTrail solution in your C# project

Usage (see Sample directory)

Setup

  1. Add EfAudit to you app's services: https://github.com/saturn72/EfAuditTrail/blob/7342af4b0051866c1387175fc56728ce4f198aac/Sample/Server/Program.cs#L9-L18
  2. Add EfAuditInterceptor to you Dbcontext https://github.com/saturn72/EfAuditTrail/blob/7342af4b0051866c1387175fc56728ce4f198aac/Sample/Server/Program.cs#L19-L27

Define Audit Trail Handler

Audit Trail handler is an object of type Func<IServiceProvider, AuditRecord, CancellationToken, Task>. In your code define a handler of the type, and add it to the EfAudit (see Setup ).

Example:

https://github.com/saturn72/EfAuditTrail/blob/614cc559896ca1a5d5af2ef857ecd0fda02f91ae/Sample/Server/Controllers/AuditTrailController.cs#L22-L33

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.30 198 7/16/2023
1.1.29 140 7/13/2023
1.1.28 134 7/13/2023
1.1.27 144 7/13/2023
1.1.26 130 7/13/2023
1.1.25 129 7/12/2023
1.0.24 139 7/11/2023
1.0.23 200 7/3/2023
1.0.22 131 7/3/2023
1.0.21 153 7/2/2023
1.0.20 123 7/2/2023
1.0.19 130 7/2/2023
1.0.18 132 7/2/2023
1.0.17 131 7/2/2023
1.0.16 130 7/2/2023
1.0.15 138 7/2/2023
1.0.14 161 6/20/2023
1.0.13 135 6/20/2023
1.0.12 133 6/19/2023
1.0.11 136 6/19/2023
1.0.10 120 6/15/2023
1.0.9 153 6/13/2023
1.0.8 153 5/30/2023
1.0.7 145 5/21/2023
1.0.6 116 5/21/2023
1.0.5 123 5/21/2023
1.0.4 122 5/21/2023
1.0.3 118 5/21/2023
1.0.2 124 5/21/2023
1.0.1 127 5/21/2023