© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
B. L. GormanPractical Entity Framework Core 6https://doi.org/10.1007/978-1-4842-7301-2_11

11. Repository and Unit of Work Patterns

Brian L. Gorman1  
(1)
Jesup, IA, USA
 

In this chapter, you are going to learn about two critical patterns that exist which should be on the radar of every database developer, whether you are using Entity Framework or not. The good news is that EF actually handles a lot of the unit of work (UoW) and repository (Repo) work for you. The bad news is that EF is sometimes not everything that you need when implementing your solutions.

To learn more about these patterns and how you can work with them, you’ll start this chapter by discussing ...

Get Practical Entity Framework Core 6: Database Access for Enterprise Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.