I am using Entity Framework v4 and the repository pattern found in the answer to this SO question: Advantage of creating a generic repository vs. specific repository for each object?
Say i want to add pagination support. My app is separated in Web, Services and repositories. The Controller only speaks to the Service and the Service g开发者_运维百科ets Data and does business logic
i need some advice on building a real environment MVC project. I already went thru all the tutorials in asp.net. But i found that most of the tutorials are using ninject, Entity Framework(EF) or linq
First of all sorry my bad English! I see in many Silverlight tutorials the following: We have models on the server side for example Product. The webservice has a method for example Ilist GetProducts(
I\'m trying to teach mysel开发者_开发知识库f the repository pattern, and I have a best practices question.
Lets say i have a ITaskRepository and a TaskEntityReposit开发者_Go百科ory that implements the ITaskRepository and wraps the access to the ObjectContext of the Entity.
If I implement this interface: public int开发者_JAVA百科erface IProductsRepository { IQueryable<Product> Products { get; }
I have a repository called: IChocolateRepository It derives from 开发者_开发知识库a generic repository interface IRepository<> which defines basic repository functions (FindAll, Delete, Add, etc.)
A few days ago I came across this blog post which provides a pluggable cache manager to use different cache providers. basically, we have an ICacheProvider Interface:
I\'ve implimented a Unit of Work pattern with开发者_如何学JAVA my Entity Framework repository. ** golf clap **