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.

Using Unity, how do you register type mappings for generics?

I'm trying to implement a repository solution for Entity Framework but I am having trouble registering the types that include …

entity-framework unity-container repository-pattern separation-of-concerns
Best way to implement Repository Pattern?

I've been exploring BDD/DDD and as a consequence trying to come up with a proper implementation of the Repository …

c# domain-driven-design repository-pattern bdd
How is the Data Mapper pattern different from the Repository Pattern?

I found two patterns which appear to have the same goal - what is the difference? http://martinfowler.com/eaaCatalog/…

design-patterns repository-pattern datamapper
MVC ViewModels and Entity Framework queries

I am new to both MVC and Entity Framework and I have a question about the right/preferred way to …

c# asp.net-mvc entity-framework repository-pattern viewmodel
DDD repository and factory

In my application a few layers. In this topic will focus on Domain and Infrastructure layers. I have repository interface …

domain-driven-design repository-pattern factory-pattern ddd-repositories
What exactly is the difference between a data mapper and a repository?

Well I've been trying to find out the difference between data mapper and repository, but up to now I still …

orm repository repository-pattern datamapper domain-model
What specific issue does the repository pattern solve?

(Note: My question has very similar concerns as the person who asked this question three months ago, but it was …

entity-framework design-patterns domain-driven-design repository-pattern
Generic repository to update an entire aggregate

I am using the repository pattern to provide access to and saving of my aggregates. The problem is the updating …

entity-framework domain-driven-design repository-pattern entity-framework-6 onion-architecture
Using Simple Injector with Unit Of Work & Repository Pattern in Windows Form

I'm trying to implement IoC in my windows form application. My choice fell on Simple Injector, because it's fast and …

c# entity-framework inversion-of-control repository-pattern simple-injector