DEV Community

The 6 Figure Developer Podcast

Episode 029 – Generic Repository & Repository Pattern

 

  • What
    • What is a generic repository
  • Where
    • Where in the code would I use the generic repository
  • Why
    • Why would I even bother using a generic repository
  • When
    • When is/isn’t a generic repository appropriate
  • Who
    • Who should be using a generic repository

 

– Repository Pattern
– Generics
– EF
– Unit of work
– How to avoid leaky abstractions?
– Lazy vs Eager loading
– Performance – That will never work in production!!

 

Introducing the CachedRepository Pattern
Implementing the infrastructure persistence layer with Entity Framework Core
Generic Repository & Dependency Injection with .NET Core
Practical Test-Driven Development using C# 7

 


“Tempting Time” by Animals As Leaders used with permissions – All Rights Reserved

 

× Subscribe now! Never miss a post, subscribe to The 6 Figure Developer Podcast!

 

Episode source