Solved

EF 6 on VS 2010 pro.

Posted on 2014-12-05
3
141 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

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 …
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

911 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

21 Experts available now in Live!

Get 1:1 Help Now