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.

LINQ to SQL and the repository pattern

I feel like I'm running around in circles. I can't seem to make up my mind as to what the …

.net asp.net-mvc linq-to-sql repository-pattern
Generic Repository for SQLite-Net in Xamarin Project

I am wondering if there is a way to write a generic repository for my Xamarin project versus writing a …

c# xamarin repository-pattern sqlite-net
Repository pattern - Why exactly do we need Interfaces?

I have read from internet I got this points which says Interfaces is used for this Use TDD methods Replace …

c# asp.net-mvc-3 repository-pattern
Repository Pattern in Entity framework 4 when should we dispose?

New to EF and I have noticed that using a repository pattern can really simplify things and will allow me …

entity-framework-4 repository-pattern
Services and Repositories in DDD (C#)

How do Services and Repositories relate to each other in DDD? I mean, I've been reading up on DDD for …

c# design-patterns repository-pattern
IUnitOfWork how to use - best practice

I'm using EF4.3.1 in a .Net4.0 web forms (not MVC!) application. I tend to use the repository pattern with an …

entity-framework repository-pattern unit-of-work
Repository Pattern - Caching

I'm not sure where I should implement the caching in my repository pattern. Should I implement it in the service-logic …

caching repository-pattern
Examples of Repository Pattern with consuming an external REST web service via HttpClient?

I've searched around quite a bit, but haven't found any good examples of consuming an external REST web service using …

c# asp.net-mvc web-services httpclient repository-pattern
C# How to convert an Expression<Func<SomeType>> to an Expression<Func<OtherType>>

I have used C# expressions before based on lamdas, but I have no experience composing them by hand. Given an …

c# linq-to-sql lambda repository-pattern expression-trees
How to write Repository method for .ThenInclude in EF Core 2

I'm trying to write a repository method for Entity Framework Core 2.0 that can handle returning child collections of properties using .…

c# lambda .net-core entity-framework-core repository-pattern