APF.Core.Clean.EfCore
10.0.0.1
dotnet add package APF.Core.Clean.EfCore --version 10.0.0.1
NuGet\Install-Package APF.Core.Clean.EfCore -Version 10.0.0.1
<PackageReference Include="APF.Core.Clean.EfCore" Version="10.0.0.1" />
<PackageVersion Include="APF.Core.Clean.EfCore" Version="10.0.0.1" />
<PackageReference Include="APF.Core.Clean.EfCore" />
paket add APF.Core.Clean.EfCore --version 10.0.0.1
#r "nuget: APF.Core.Clean.EfCore, 10.0.0.1"
#:package APF.Core.Clean.EfCore@10.0.0.1
#addin nuget:?package=APF.Core.Clean.EfCore&version=10.0.0.1
#tool nuget:?package=APF.Core.Clean.EfCore&version=10.0.0.1
Core.Clean.EfCore
Core.Clean.EfCore is an infrastructure-level package that provides Entity Framework Core abstractions, base repositories, audit trail handling, and related utilities.
It is designed to be used in the infrastructure layer of microservices following Clean Architecture.
This package depends on Core.Clean.Common for shared abstractions and base entities.
Projects
src/Aurionpro.PaymentFramework.Core.Clean.EfCore
- Aurionpro.PaymentFramework.Core.Clean.EfCore
tests/Aurionpro.PaymentFramework.Core.Clean.EfCore.Tests
- Aurionpro.PaymentFramework.Core.Clean.EfCore.Tests
Purpose
- Provides base DbContext and repository abstractions for EF Core.
- Implements IRepository and IQueryableRepository for CQRS patterns.
- Handles audit trail functionality using AuditTrailInterceptor and IAuditTrailStoreService.
- Supplies base entities and interfaces like Entity, IAuditSetter, and ISupportChangeTracking.
Features
- Base Repositories: Generic command and query repositories (
IRepository,IQueryableRepository) for domain entities. - Audit Trails: Interceptor for automatic audit logging (
AuditTrailInterceptor) and storage service (IAuditTrailStoreService). - Entities: Base entity (
Entity) and interfaces for change tracking and auditing (IAuditSetter,ISupportChangeTracking).
Getting Started
- Clone the repo
- Navigate to the root directory
- Run:
dotnet build
dotnet test
Register AuditTrail dependency in Infrastructure layer of a microservice, if required
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddDbContext<ApplicationDbContext>((sp, options) =>
{
options.UseMySql(writeConnectionString, ServerVersion.AutoDetect(writeConnectionString),
mySql => mySql.MigrationsAs+sembly(migrationsAssembly)).AddInterceptors(
new AuditTrailInterceptor(
sp.GetRequiredService<ICommandSqlExecutor>(),
sp.GetRequiredService<IUserContectService>(),
sp.GetRequiredService<IAuditTrailStoreService>()
)
);
});
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- APF.Core.Clean.Common (>= 10.0.0.1)
- Microsoft.EntityFrameworkCore (>= 9.0.9)
- Pomelo.EntityFrameworkCore.MySql (>= 9.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.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0.1 | 147 | 8/14/2026 |
| 10.0.0-Beta-03 | 71 | 8/13/2026 |
| 10.0.0-Beta-02 | 746 | 7/7/2026 |
| 10.0.0-Beta-01 | 312 | 6/23/2026 |
| 8.0.0.4 | 160 | 7/7/2026 |
| 8.0.0.4-Beta-1 | 254 | 7/7/2026 |
| 8.0.0.3 | 1,265 | 5/5/2026 |
| 8.0.0.3-Beta-2 | 1,164 | 3/26/2026 |
| 8.0.0.3-Beta-1 | 113 | 3/26/2026 |
| 8.0.0.2 | 1,212 | 2/24/2026 |
| 8.0.0.2-Beta-1 | 148 | 2/23/2026 |
| 8.0.0.1 | 227 | 2/13/2026 |
| 8.0.0-Beta-3 | 169 | 2/19/2026 |
| 8.0.0-Beta-2 | 112 | 2/19/2026 |
| 8.0.0-Beta-1 | 122 | 2/12/2026 |
| 1.0.0-Beta-05 | 868 | 10/9/2025 |
| 1.0.0-Beta-04 | 202 | 10/3/2025 |
| 1.0.0-Beta-03 | 529 | 9/16/2025 |
| 1.0.0-Beta-02 | 213 | 8/22/2025 |
| 1.0.0-Beta-01 | 582 | 7/29/2025 |
# Changelog
## 2026-08-14 - 10.0.0.1
- Published the Stable .net 10 compatible version
## 2026-08-13 - 10.0.0.0-Beta-03
- Updated Readme file.
## 2026-07-07 - 10.0.0.0-Beta-02
- Removed Obsolete ISqlExecutor.