Solved

EF 6 on VS 2010 pro.

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Run SQL Server Proc from Access 11 31
SQL View nearest date 5 36
C# LINQ ForEach() question 6 28
How to use three values with DATEDIFF 3 24
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
I have a large data set and a SSIS package. How can I load this file in multi threading?
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

773 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