The repository pattern is a design pattern that provides a way to abstract the data access layer in an application. The controversy around the repository pattern centers around the fact that many developers argue it adds unnecessary complexity and duplicates functionality that is already provided by modern Object-Relational Mapping (ORM) frameworks such as Entity Framework.
Sort: