AFetter
AFetter

Reputation: 3614

Entity Framework Bug?

I'm not sure if this is a bug or a feature of Entity Framework.

I created 2 tables without Ids. I don't see these tables in my diagram but if I try remove all tables, Visual Studio shows me the table names.enter image description here

Upvotes: 1

Views: 179

Answers (1)

Scott Chamberlain
Scott Chamberlain

Reputation: 127603

If you have a many to many relationship that relationship is modeled in the database by using a table to do the mappings between the two tables. It is likely your table was turned in to one of those "look up" tables.

So something like this
enter image description here

Turns in to this
enter image description here

Upvotes: 4

Related Questions