Repository Pattern
← Back to Modern and Functional Patterns
Abstract data access behind a collection-like interface. Mediates between the domain and data mapping layers, providing a collection-like interface for accessing domain objects. Hides the details of data persistence.
Key Properties
Related
- Unit of Work (tracks changes for repositories)
- Domain-Driven Design (tactical pattern)