EfAudit 1.1.27

There is a newer version of this package available.
See the version list below for details.
dotnet add package EfAudit --version 1.1.27                
NuGet\Install-Package EfAudit -Version 1.1.27                
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.1.27" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EfAudit --version 1.1.27                
#r "nuget: EfAudit, 1.1.27"                
#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.1.27

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

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 205 7/16/2023
1.1.29 147 7/13/2023
1.1.28 141 7/13/2023
1.1.27 151 7/13/2023
1.1.26 137 7/13/2023
1.1.25 135 7/12/2023
1.0.24 145 7/11/2023
1.0.23 206 7/3/2023
1.0.22 138 7/3/2023
1.0.21 160 7/2/2023
1.0.20 130 7/2/2023
1.0.19 136 7/2/2023
1.0.18 139 7/2/2023
1.0.17 137 7/2/2023
1.0.16 136 7/2/2023
1.0.15 144 7/2/2023
1.0.14 168 6/20/2023
1.0.13 142 6/20/2023
1.0.12 139 6/19/2023
1.0.11 142 6/19/2023
1.0.10 126 6/15/2023
1.0.9 160 6/13/2023
1.0.8 159 5/30/2023
1.0.7 151 5/21/2023
1.0.6 122 5/21/2023
1.0.5 129 5/21/2023
1.0.4 128 5/21/2023
1.0.3 125 5/21/2023
1.0.2 130 5/21/2023
1.0.1 133 5/21/2023