© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago
Cydo

✅ Unit of Work for just Repositories or Services as well?

When you create a unit of work and you add repositories inside of it so you aren't constantly newing up additional ones across your applications, should services also be added to the same unit of work? Another unit of work or not at all?

I don't see the harm in adding services to the unit of work so would that be a valid thing to do or will that cause issues somehow?
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

Dapper - Unit of work between 2 repositories
C#CC# / help
11mo ago
❔ Dapper Unit Of Work
C#CC# / help
3y ago
Confusion about Repository Pattern and Unit of Work.
C#CC# / help
3y ago
✅ What's the point of abstracting services as interfaces?
C#CC# / help
4y ago