Robotico.Repository.EntityFrameworkCore 0.1.3
Robotico.Repository.EntityFrameworkCore
IRepository, IAsyncRepository, and IUnitOfWork backed by EF Core. Provider-agnostic; app adds Npgsql.EntityFrameworkCore.PostgreSQL or Microsoft.EntityFrameworkCore.SqlServer etc.
Which interface?
| Host / scenario | Prefer |
|---|---|
| ASP.NET Core, workers (async entry points) | IAsyncRepository<,> |
| Legacy synchronous code | IRepository<,> |
Unit of work profile (IUnitOfWorkCapabilities)
UnitOfWorkCommitMode |
DeferredUntilCommit |
CommitCoordinatesDomainWrites |
yes — changes flush at SaveChanges / CommitAsync |
SupportsTransactions |
yes |
Documentation
Architecture notes live in docs/ (AsciiDoc, same convention as robotico-results-csharp).
Building and testing
dotnet restore
dotnet build -c Release
dotnet test tests/Robotico.Repository.EntityFrameworkCore.Tests/Robotico.Repository.EntityFrameworkCore.Tests.csproj -c Release
License
See repository license file.
No packages depend on Robotico.Repository.EntityFrameworkCore.
.NET 8.0
- Microsoft.EntityFrameworkCore (>= 8.0.11)
- Robotico.Domain (>= 1.0.2)
- Robotico.Repository (>= 1.2.1)
- Robotico.Result (>= 1.0.2)
.NET 10.0
- Microsoft.EntityFrameworkCore (>= 8.0.11)
- Robotico.Domain (>= 1.0.2)
- Robotico.Repository (>= 1.2.1)
- Robotico.Result (>= 1.0.2)