Implementing the Repository and Unit of Work Patterns in an ASP.NET MVC Application

An arguable discussion

Repositories On Top UnitOfWork Are Not a Good Idea



Performance Considerations for Entity Framework 4, 5, and 6

The following topics are covered in this article:

  Read more of this post

Entity Framework and SQL Server View

To force entity framework to use a column as a primary key, use ISNULL.

To force entity framework not to use a column as a primary key, use NULLIF.

An easy way to apply this is to wrap the select statement of your view in another select.

Read more of this post

Cool (and Free) Tools for Entity Framework

Now that Entity Framework is open source, the development community is able to contribute code to it at But don’t limit yourself to looking there for tools and extensions. There are other great tools, both commercial and community-driven, that can help you achieve more with Entity Framework. In this column, I want to highlight some of those tools and extensions that come from the community. They’re all free and available through the Visual Studio Gallery (for IDE extensions) or NuGet (for code libraries). There are even some from members of the Entity Framework team that are pet projects and external to the official bits.

Read more of this post