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
<PackageReference Include="Anixe.IO.AuditlogClient.EFCore" Version="2.0.1" />
paket add Anixe.IO.AuditlogClient.EFCore --version 2.0.1
#r "nuget: Anixe.IO.AuditlogClient.EFCore, 2.0.1"
// 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 | Versions 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. |
-
net6.0
- Castle.Core (>= 5.1.0)
- Microsoft.EntityFrameworkCore (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
# 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