Robotico.Repository.Dapper 0.1.4

Robotico.Repository.Dapper

Woodpecker CI

IRepository<TEntity, TId>, IAsyncRepository<TEntity, TId>, and IUnitOfWork over IDbConnection / IDbTransaction (Dapper). Table and id column names are configurable; ensure they are not user-controlled to avoid SQL injection.

Which interface?

Host / scenario Prefer
ASP.NET Core, workers IAsyncRepository<,>
Legacy synchronous usage IRepository<,>

Unit of work profile (IUnitOfWorkCapabilities)

UnitOfWorkCommitMode DeferredUntilCommit when BeginTransaction() was used; otherwise operations may autocommit per statement
CommitCoordinatesDomainWrites yes when a transaction is active
SupportsTransactions yes

.NET 8 .NET 10 C# GitHub Packages

Use the same connection and transaction (from DapperUnitOfWork.Connection and BeginTransaction()) for repositories so that operations and CommitAsync participate in one transaction.

License

See repository license file.

No packages depend on Robotico.Repository.Dapper.

.NET 8.0

.NET 10.0

Version Downloads Last updated
0.1.4 2 07/26/2026
0.1.3 0 06/03/2026