views:

18

answers:

1

Hi All,
I create a new .edmx and the wizard allows me to choose the tables I want to expose after I pick my connection. I pick one table, and nothing shows on the design surface. The model explorer opens but nothing seems to have happened. Any ideas what's going here? There is a message on the design surface that says use the toolbox. I can drag items on but I don't seem to be getting the experience I've had in the past with LinqToSql. Am I doing something wrong? In SSMS, I seem to have all the rights I need using Windows Auth. Any ideas what I can try to correct this? happy Friday and thanks for any tips.

Cheers, ~ck in San Diego

+2  A: 

Check your Error List window for messages.

One common problem is if the table doesn't have a primary key.

Stephen Cleary
I think you're correct. I didn't see any output message, but I'm able to drag other tables on there and they are showing up. What can you do for tables with no PK?
Hcabnettek
Oops... I meant Error List window, not Output window...
Stephen Cleary
Entity Framework was designed to work with "entities", which require a primary key to identify them. You'd have to add a PK to the table for it to work with EF.
Stephen Cleary