© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
20 replies
vileruby

❔ Repository pattern

Creating a tutorial App and I have a EF Core DbContext injected in a a generic Repostitory<T> class. The problem i'm having is I want to be able to save multiple entities at once, but currently due to the Repository pattern it seems I am limited to saving one entity at a time. Am I using the wrong pattern? Is there an established way of handling this scenario?
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

Similar Threads

✅ Repository Pattern question.
C#CC# / help
3y ago
✅ CQRS and Repository pattern
C#CC# / help
4mo ago
Problems with Repository Pattern
C#CC# / help
7mo ago
Repository pattern, any advice ?
C#CC# / help
15mo ago