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 172 7/16/2023
1.1.29 124 7/13/2023
1.1.28 118 7/13/2023
1.1.27 127 7/13/2023
1.1.26 121 7/13/2023
1.1.25 118 7/12/2023
1.0.24 122 7/11/2023
1.0.23 184 7/3/2023
1.0.22 115 7/3/2023
1.0.21 137 7/2/2023
1.0.20 114 7/2/2023
1.0.19 118 7/2/2023
1.0.18 116 7/2/2023
1.0.17 121 7/2/2023
1.0.16 117 7/2/2023
1.0.15 120 7/2/2023
1.0.14 144 6/20/2023
1.0.13 119 6/20/2023
1.0.12 116 6/19/2023
1.0.11 118 6/19/2023
1.0.10 106 6/15/2023
1.0.9 138 6/13/2023
1.0.8 143 5/30/2023
1.0.7 134 5/21/2023
1.0.6 103 5/21/2023
1.0.5 105 5/21/2023
1.0.4 104 5/21/2023
1.0.3 106 5/21/2023
1.0.2 107 5/21/2023
1.0.1 108 5/21/2023