EtBen.DataAccess.EF.Sql
2.1.0
dotnet add package EtBen.DataAccess.EF.Sql --version 2.1.0
NuGet\Install-Package EtBen.DataAccess.EF.Sql -Version 2.1.0
<PackageReference Include="EtBen.DataAccess.EF.Sql" Version="2.1.0" />
<PackageVersion Include="EtBen.DataAccess.EF.Sql" Version="2.1.0" />
<PackageReference Include="EtBen.DataAccess.EF.Sql" />
paket add EtBen.DataAccess.EF.Sql --version 2.1.0
#r "nuget: EtBen.DataAccess.EF.Sql, 2.1.0"
#:package EtBen.DataAccess.EF.Sql@2.1.0
#addin nuget:?package=EtBen.DataAccess.EF.Sql&version=2.1.0
#tool nuget:?package=EtBen.DataAccess.EF.Sql&version=2.1.0
π§± EtBen.DataAccess.EF.Sql
A lightweight, extensible .NET 10 library implementing the Repository and Unit of Work patterns using Entity Framework Core.
π Overview
EtBen.DataAccess.EF.Sql provides a structured and maintainable approach to data access in .NET applications.
It implements the Generic Repository and Unit of Work patterns, simplifying how your application interacts with Entity Framework Core while keeping your data layer testable, extensible, and cleanly separated from business logic.
β¨ Features
- π§© Generic Repository Interfaces β consistent data access across entities
- βοΈ Repository Factory β simple integration with dependency injection
- π Unit of Work Pattern β ensures transactional consistency
- π§ Clean Architecture Ready β promotes separation of concerns
- π§ͺ Easily Testable β mock repositories for unit testing
- πΎ Supports CRUD operations for any entity type
πΊοΈ EF Schematic
The EF Schematic is a companion project that visually represents the Entity Framework data model used by this library. It illustrates how entities, keys, and relationships are structured, helping developers quickly understand and extend the data architecture.
π¦ Installation
Install via NuGet:
dotnet add package EtBen.DataAccess.EF.Sql --version 2.1.0
| 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
- Microsoft.EntityFrameworkCore (>= 10.0.5)
- Microsoft.EntityFrameworkCore.SqlServer (>= 10.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Release 2.1.0:
- Updated Microsoft.EntityFrameworkCore and Microsoft.EntityFrameworkCore.SqlServer to version 10.0.5.
- Updated repository and unit of work implementations to use async functions.