Repository pattern: A domain specific storage of database manipulation methods containing method names that are in the language of the business rather than in the language of SQL.
The whole point of the repository pattern is to have a place where the database logic defined in the language of the business, rather than the technical language.
The repository pattern cannot work by itself. It needs to communicate with an ORM like EF core or Dapper to work.
Top comments (0)