Anixe.IO.AuditlogClient.EFCore 2.0.1

dotnet add package Anixe.IO.AuditlogClient.EFCore --version 2.0.1                
NuGet\Install-Package Anixe.IO.AuditlogClient.EFCore -Version 2.0.1                
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="Anixe.IO.AuditlogClient.EFCore" Version="2.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Anixe.IO.AuditlogClient.EFCore --version 2.0.1                
#r "nuget: Anixe.IO.AuditlogClient.EFCore, 2.0.1"                
#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 Anixe.IO.AuditlogClient.EFCore as a Cake Addin
#addin nuget:?package=Anixe.IO.AuditlogClient.EFCore&version=2.0.1

// Install Anixe.IO.AuditlogClient.EFCore as a Cake Tool
#tool nuget:?package=Anixe.IO.AuditlogClient.EFCore&version=2.0.1                

AuditlogClientEfCore

Anixe.IO.AuditlogClient.EFCore allows you to quickly integrate your asp .net core application with Anixe Auditlog entity framework core entity changes.

How it works

This package allows for EF Core entities changes tracking. Every call to the method SaveChanges triggers auditlog scan of entities that has been changed/modified (created, modified or deleted). The data is stored in IAuditlogEntityDataContainer and is available as long as scope is alive (not disposed) in DI container.

How to integrate

Add into csproj as a package reference

<PackageReference Include="Anixe.IO.AuditlogClient.EFCore" Version="2.0.0" />

Register package with DI container

public void AddAnixeAuditlog(IServiceCollection services)
{
    services.AddDbContext<MyContext>(options => { ... });
    // OR
    services.AddDbContextPool<MyPooledContext>(options => { ... });    

    ...

    services.UseAnixeAuditlogEfCoreIntegration<MyContext>();
    // OR
    services.UseAnixeAuditlogEfCorePoolIntegration<MyPooledContext>();
}

How to use

This package provides interface IAuditlogEntityDataContainer.

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
2.0.1 216 12/4/2023
2.0.0 325 12/12/2022
1.1.1 1,028 1/13/2022
1.1.0 3,274 1/11/2022
1.0.4 403 8/31/2021
1.0.3 368 7/8/2021
1.0.2 1,895 1/27/2021
1.0.1 3,668 9/1/2020
1.0.0 769 8/19/2020

# Anixe.IO.AuditlogClient.EFCore CHANGELOG

## 2.0.1 - 2023-12-05

- Fix typo of static class AuditlogEfCoreServiceCollectionExtensions that contain extension methods
- Update Anixe.IO to 3.1.0

## 2.0.0 - 2022-12-12

- Drop support of .NET versions before .NET 6
- Update Microsoft.EntityFrameworkCore from 6.0.1 to 7.0.0
- Update Castle.Core from 4.4.* to 5.1.0
- Fix exception thrown when audited property was set to null
- Fix exception thrown when audited table has no primary keys

## 1.1.1 - 2022-01-11

- Performance optimizations

## 1.1.0 - 2022-01-11

- Update Microsoft.EntityFrameworkCore for net6.0 target to 6.0.1

## 1.0.4 - 2021-08-31

- Update Microsoft.EntityFrameworkCore to 3.1.18

## 1.0.3 - 2021-07-08

### Added

- License information in package metadata