Can someone please explain what’s the use of this pattern with example? All I’m confused is that I can have database instance wherever I want and I have flexibility to do anything by it, am I wrong? specially is Answer The repository pattern is a strategy for abstracting data access. it’s like putting a universal adapter in between your application and your