Thursday, November 26, 2015 ..:: Home ::.. Register  Login
All blog entries are the opinions of the author and do not necessarily reflect the opinions of their employer. All the code presented is for explanation and demonstration purposes only. Any damages incurred to your site and/or data are not the responsibility of the author. Every effort is taken to ensure the code properly compiles, however sometimes there are some hiccups and you might be required to do your own debugging.
   TechTidBits (Blog)  

Trying To Learn MVC But One Major Hiccup!

Apr 26

Written by:
Tuesday, April 26, 2011 10:42 PM  RssIcon

I’m trying to learn MVC ( MVC 3 to be exact) and I already have a database ready to go, but where oh where are you Entity Data Model template in Visual Studio?

Ok, I’m trying to port an older application to MVC, I figured now’s a great time to learn MVC.  But I ALREADY have my db created and I want to use THAT one, not recreate the db from scratch in code.  Although that’s sometimes a good idea, in my case tonight, I want to focus on the code bits, not the bytes I already have in the database.

Well, everywhere I’m reading says to just select the ADO.NET Entity Data Model from the Data template in Visual Studio……uuuuhhhh hhhhmmmmm Where are you entity data model template?  I dooooon’t seeeeeeeeeee you!!!!!!

What you SHOULD see is this.


But I didn’t.  So, a-googling I went and from my googling, I’m not the only one who’s experiencing this problem of missing Entity framework, or ADO.NET Entity Data Model templates.  There is/was a SLEW of links and most of them pointed to an install that didn’t work…silently cause otherwise I would have noticed (I think). 

Anyways, what do I do now?  Thankfully I still have my VS 2010 install disc!  COOL!  If you have that, then you can try this trick I got from Bill Yeager on one of the Microsoft forums.  Use the following command (replace G: with your DVD drive or where ever your VS 2010 is installed).

msiexec /i G:\WCU\EFTools\ADONETEntityFrameworkTools_enu.msi USING_EXUIH=1 /log "dd_ADONETEntityFrameworkTools_enu_MSI.txt"

Once I did that, I was able to see the ADO.NET Entity Data Model template.  PHEW!  I was getting nervous about not being able to make any progress tonight on this.  Now that I can create the EDMX, it’s time to grab a coffee and get coding!


Google: Search for entity data model install vs 2010 install

Microsoft Silverlight: Why can’t I find the “ADO.NET Entity Data Model” in “VS2010 add new item?”?

Location: Blogs Parent Separator TechTidBits

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Add Comment   Cancel 
Copyright 1999-2012 by   Terms Of Use  Privacy Statement