EfAudit 1.1.30

dotnet add package EfAudit --version 1.1.30
NuGet\Install-Package EfAudit -Version 1.1.30
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.30" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EfAudit --version 1.1.30
#r "nuget: EfAudit, 1.1.30"
#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.30

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

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 176 7/16/2023
1.1.29 125 7/13/2023
1.1.28 119 7/13/2023
1.1.27 128 7/13/2023
1.1.26 122 7/13/2023
1.1.25 119 7/12/2023
1.0.24 123 7/11/2023
1.0.23 185 7/3/2023
1.0.22 116 7/3/2023
1.0.21 138 7/2/2023
1.0.20 115 7/2/2023
1.0.19 119 7/2/2023
1.0.18 117 7/2/2023
1.0.17 122 7/2/2023
1.0.16 118 7/2/2023
1.0.15 121 7/2/2023
1.0.14 145 6/20/2023
1.0.13 120 6/20/2023
1.0.12 117 6/19/2023
1.0.11 119 6/19/2023
1.0.10 108 6/15/2023
1.0.9 140 6/13/2023
1.0.8 145 5/30/2023
1.0.7 136 5/21/2023
1.0.6 105 5/21/2023
1.0.5 107 5/21/2023
1.0.4 106 5/21/2023
1.0.3 108 5/21/2023
1.0.2 109 5/21/2023
1.0.1 110 5/21/2023