0

This is my first time dealing with Entity Framework. I add the ADO.NET Entity Data Model class -> Choose the database to use -> Choose the tables I want -> Name / Namespace -> Finish

When I look at the class in the solution explorer, there's no tables showing. When I instantiate it, it doesn't show my tables as options.

Am I missing something?

enter image description here

Choosing tables

enter image description here

Empty Diagram once finished loading

enter image description here

Breakdown of class

enter image description here

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Deadfish
  • 41
  • 7

1 Answers1

0

I got the same problem. Here is the solution. In my case, there were some warnings about the primary key. That primary keys are not defined in tables so. What I did I define the primary keys and then update the table. Now I have the diagrams.

uniqueSolutions
  • 143
  • 2
  • 8