An open API service indexing awesome lists of open source software.

https://github.com/dcyuksel/repositorypattern

Generic Repository Pattern in C#
https://github.com/dcyuksel/repositorypattern

csharp data-access design-patterns entity-framework-core generic generic-repository-pattern repository-pattern

Last synced: 10 months ago
JSON representation

Generic Repository Pattern in C#

Awesome Lists containing this project

README

          

# RepositoryPattern
Repository Pattern in C#

In almost every modern application, there’s at least one data source and a data access layer. Regardless of the type of data, we often find ourselves implementing the same operations — like reading, adding, updating, and deleting — over and over again for different data types. This is where the generic repository pattern comes in handy. It centralizes data access logic, making it easier to maintain and reuse.