Solved

EF 6 on VS 2010 pro.

Posted on 2014-12-05
3
125 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
  • 2
3 Comments
 
LVL 35

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 35

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Suggested Solutions

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now