Wriju's BLOG

.NET, Cloud and everything

Code First EF 4.1 : Missing “ADO.NET DbContext Generator” VS Template

I have seen people coming back to me asking questions about the template visible in Visual Studio 2010 as “ADO.NET DbContext Generator”. This template allows you to create the POCO classes and the context for CodeFirst from already existing edmx file.

The template in Visual Studio looks like

image

But missing. But why?

At times if you have used NuGet package manager to install the EF 4.1 then the ADO.NET DbContext Generator would not come.

This template gets installed only when you install the complete EF 4.1 from MSDN here

Namoskar!!!