Overview
The adapter concerns Venn diagram visualizes the feature overlap between SqlSugar, EF Core, and Dapper. All three share persistence models and connection strings, while SqlSugar and EF Core share the CAP Outbox unit-of-work pattern. Dapper remains intentionally lightweight as a read-only query store.
Key takeaways
- SqlSugar ∩ EF Core share the most — UoW + CAP Outbox, global filters, audit auto-fill
- Dapper is intentionally query-only — no Unit of Work, no change tracking
- All three adapters share the same
Persistence.Modelsentities - Switching between SqlSugar and EF Core requires only a config change (
Persistence:Provider)
Related
- ORM Adapter Pattern — adapter switching strategy
- Building Block: Persistence — persistence layer details