Top "Repository-pattern" questions

The repository pattern provides a way to provide isolation between the data access layer of your application with the business layer.

How to design a Repository Pattern with Dependency Injection in ASP.NET Core MVC?

Being fairly new to ASP.NET Core 1.0 MVC, I have decided to use a Repository Pattern for an MVC Core …

c# asp.net-mvc asp.net-core-mvc repository-pattern
Managing relationships in Laravel, adhering to the repository pattern

While creating an app in Laravel 4 after reading T. Otwell's book on good design patterns in Laravel I found myself …

oop laravel laravel-4 repository-pattern eloquent
It's not possible to lock a mongodb document. What if I need to?

I know that I can't lock a single mongodb document, in fact there is no way to lock a collection …

mongodb repository-pattern
Repository Design Pattern with Dapper

This is maybe more a question for code review rather than stack overflow. I am using Dapper for a MicroORM …

c# .net design-patterns repository-pattern dapper
Implementing retry logic for deadlock exceptions

I've implemented a generic repository and was wondering if there is a smart way to implement a retry logic in …

c# entity-framework try-catch repository-pattern database-deadlocks
How can I use a stored procedure + repository + unit of work patterns in Entity Framework?

I have MVC web application project with Entity Framework code first. In this project I am going to use generic …

entity-framework entity-framework-4 ef-code-first repository-pattern unit-of-work
Generic Repository With EF 4.1 what is the point

As i dig deeper in to the DbContext, DbSet and associated interfaces, I am wondering why you would need to …

repository-pattern entity-framework-4.1 unit-of-work
NOT using repository pattern, use the ORM as is (EF)

I always used Repository pattern but for my latest project I wanted to see if I could perfect the use …

entity-framework design-patterns architecture aop repository-pattern
How do I correctly use Unity to pass a ConnectionString to my repository classes?

I've literally just started using the Unity Application Blocks Dependency Injection library from Microsoft, and I've come unstuck. This is …

c# dependency-injection inversion-of-control unity-container repository-pattern