I'm using entity framework 5 , the problem is that EF5 does not create EntityType for tables which contains only foreign keys which is not the case with EF4
does anyone know how to solve this problem ?
to workaround, i added a column to tables containing only foreign keys, i generate the edmx, and i removed them after from my edmx and the DB
thank's in advance for your help
之所以没有创建它们,是因为它们是不必要的-您应直接处理关系两端的导航属性。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.