Entity Framework 4 omits some associations during model generation
Posted
by kzen
on Stack Overflow
See other posts from Stack Overflow
or by kzen
Published on 2010-05-18T20:18:54Z
Indexed on
2010/05/18
20:30 UTC
Read the original article
Hit count: 181
entity-framework-4
|.NET
After creating an EF4 model from a SQL Server database I noticed that all the relationships of my Users table were not imported into the model as associations. All the other relationships were imported fine.
My Users table has a PK userId which is a char(7) field and it is integrated into several other tables in the database as an FK but for some reason EF4 does not import these relationships as associations during the model generation process...
Does anyone have any ideas why this would be happening?
© Stack Overflow or respective owner