Repository Pattern

-> A data access pattern.
-> Separates persistence responsibility from business classes.
-> Enables
1) Single Responsibility Principle
2) Separation of Concerns
3) Testability
-> Separates interfaces for each entity in application.
e.g CustomerRepository, OrderRepository

Leave a Reply

Your email address will not be published. Required fields are marked *