Solved

EF 6 on VS 2010 pro.

Posted on 2014-12-05
3
166 Views
Last Modified: 2014-12-21
After I finished creating the model, I don't see a graphical representation of the Entity Framework objects. I am using VS2010 pro. and I have EF 6.1 installed. I was able to select tables and store procedure. What could have gone wrong here?
Link
0
Comment
Question by:VBdotnet2005
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 36

Accepted Solution

by:
Miguel Oz earned 500 total points
ID: 40484032
EF tools (e.g. graphical support)  is not supported in VS2010 as explained here
Can I develop applications and services with the EF runtime using Visual Studio 2010?

Yes. You can use the EF 6 runtime in any project targeting .NET 4.0 with Visual Studio 2010. You just need to install the EntityFramework NuGet package in your project as described in the "EF Runtime" section of the Getting Entity Framework page. One caveat on this is that there is no version of EF Tools that was designed to work with both Visual Studio 2010 and EF6, therefore only Code First is supported.
0
 

Author Comment

by:VBdotnet2005
ID: 40484049
Hi Miguel,  I am new to EF. In EntityServerModeDatasource1 > ContextTypeName, I don't have any options and TableName is blank. How can I hook it to EntityServerModeDatasource1?
0
 
LVL 36

Assisted Solution

by:Miguel Oz
Miguel Oz earned 500 total points
ID: 40486219
Regarding your post question.
First of all you need to define what EF version to target 5.0 or 4.0? those are the versions supported by VS2010. You current issue could be related to VS2010 not supporting EF6.0.

It is hard for me to provide any details without seen the full steps you have done and it seems that we are leaving the original question scope. there are many tutorials on the web regarding EF to get you started, for example:
http://chsakell.com/2013/08/03/starting-with-code-first-in-entity-framework/
http://www.entityframeworktutorial.net/EntityFramework5/entity-framework5-introduction.aspx
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question