© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
51 replies
yered.

❔ is Generic Repository a bad implementation of Repository Pattern?

Surfing the internet I have found several articles that say it is an anti-pattern because it is an abstraction of an abstraction. In a personal project I implemented the generic repository to avoid repeating code that is normally used in CRUD and if I need more specific functions I create a new interface and implement it. Should I remove the generic repository and create a specific repository for each database table even if I need repeat the code of a CRUD?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

Hangfire implementation in Repository pattern
C#CC# / help
11mo ago
❔ Repository pattern
C#CC# / help
3y ago
✅ Repository Pattern question.
C#CC# / help
3y ago
Design Pattern for mapping generic class type to implementation
C#CC# / help
3y ago