'Code First From Database' Template not showing in Visual Studio Entity Data Model Wizard

22,962

Solution 1

It turns out that to enable the "Code First From Database" template, you need to download and install the EF Tools.

Solution 2

  1. Install "Entity Framework Power Tools Beta 4" (Tools -> Extensions and Updates)
  2. Right click project, select "Entity Framework", and "Reverse Engineer Code First"

Solution 3

Probably my response is too late! but for others "internautas" probably it works!... In my case the problem was the .NET Framework version, if you create an application and you use a .NET framework is less or equal 3.5 you don't see the option, but if you use 4 or 4.5 the option is visible

Cheers from El Salvador, Central America.

Share:
22,962
django
Author by

django

about me

Updated on July 09, 2022

Comments

  • django
    django almost 2 years

    according to Microsft in this article is should see an option 'Code First From Database' when adding a new item to the project under 'ADO.NET Entity Data Model' in step 3.

    I see the following only enter image description here

    I have installed EF 6.1 using nuget, I am using Visual Studio 2012 Ultimate..What am i missing?

  • Ryan Rodemoyer
    Ryan Rodemoyer about 10 years
    I had to do this for VS2013 as well. I was following a EF tutorial from Microsoft and the doc said VS2013 ships with this tool. Not in my case...
  • bbodenmiller
    bbodenmiller over 9 years
    Still not working for me in VS2013 after doing this :/
  • Andez
    Andez about 9 years
    I was following same Microsoft example as the OP. This works for me in VS2013 Professional (Update 3) - downloading the VS2013 version of tools in @kurasa's link. I added nuget reference to 6.1.2 version of Entity Framework initially which didn't show the wizard templates. About to put Update 4 on though next.
  • Saket Kumar
    Saket Kumar over 8 years
    It is already mentioned that Visual Studio 2012 is being used.
  • Asif Mehmood
    Asif Mehmood over 8 years
    Thanks @kurasa very much