DotNetStories
In this post I am going to make the case why returning IQueryable from a Repository Pattern is an anti-pattern and why you should not do it.
In this post I will try to explain why the Repository Pattern is not redundant when we use an ORM like Entity Framework in our application.
In this post I will try to define the Repository Pattern, explain what it is and how we must use it in my own words and according to my experience as a software engineer.
When developing/architecting our custom ASP.Net MVC applications we do use the Repository Pattern/Generic Repository Pattern.
In this post I will demonstrate with a hands-on demo the importance of using patterns in an ASP.Net MVC application. I will use the Repository Pattern to create an additional abstract layer between my domain classes and the data layer.