'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
- Install "Entity Framework Power Tools Beta 4" (Tools -> Extensions and Updates)
- 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.
Comments
-
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
I have installed EF 6.1 using nuget, I am using Visual Studio 2012 Ultimate..What am i missing?
-
Ryan Rodemoyer about 10 yearsI 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 over 9 yearsStill not working for me in VS2013 after doing this :/
-
Andez about 9 yearsI 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 over 8 yearsIt is already mentioned that Visual Studio 2012 is being used.
-
Asif Mehmood over 8 yearsThanks @kurasa very much