Table not mapped to Entity Framework data model

Hi, I came back with another question, I started using EF and I have problems with it.

OverView:
I made an EF model and found out that one table (named UserRoles) did not appear in the EF model diagram, I tried to add it through the "Update Data Model", but the wizard did not show me that the table adds (as if it were already added), I also tried to update the model using the "Update Data Model" wizard, this did not help.

Explanation of the problem:
Original DB diagram.
enter image description here
Partial EF Model Diagram
enter image description here
I tried to add it through the "Update Data Model"
enter image description here

EF "UserRoles", . enter image description here

P.S: , , plz - , .

+3
1

, , sql.

EF - "", "".

User , - . .

( "RelationName", - - ), EF...

: , : "". , , : . Sql ( "" ), Sql . EF - ORM, , sql.

2:

Code First, http://blogs.msdn.com/b/wriju/archive/2011/05/14/code-first-ef-4-1-building-many-to-many-relationship.aspx

Google "Entity framework "

+2

All Articles