adapter-repository
CommunityUnified EF Core repositories for scalable data access.
Software Engineering#csharp#data-access#hexagonal-architecture#entity-framework#ef-core#unit-of-work#repository-pattern
Authorlcmassena
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides a repository adapter pattern for EF Core, delivering a consistent data access layer that supports CRUD, paging, and transactional operations within a hexagonal architecture.
Core Features & Use Cases
- Generic SqlRepository<T> base class with GetAsync, AddAsync, UpdateAsync, DeleteAsync, and GetPagedAsync.
- Unit of Work integration via IUnitOfWork to coordinate commit/rollback across repositories.
- EF Core DataContext mappings and entity configurations to enforce schema and validation.
- Use Case: Build a robust persistence layer for domain-driven hexagonal applications and testability.
Quick Start
Register the DataContext and repository implementations in DI and start using the generic repository for basic CRUD against your entities.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: adapter-repository Download link: https://github.com/lcmassena/AI_Skills/archive/main.zip#adapter-repository Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.