开发者

Entity Framework model from DB2 tables with composite keys

开发者 https://www.devze.com 2023-03-15 19:04 出处:网络
We are testing EF 4.1 against DB2 tables on a Main Frame. We are now able to generate EF models from DB2 tables and retrieve data :)

We are testing EF 4.1 against DB2 tables on a Main Frame.

We are now able to generate EF models from DB2 tables and retrieve data :)

When we generate the EF model some relationships are included i开发者_开发技巧n the model and some are missing. It appears that the ones that are missing are composite keys.

  • Is this a limitation in EF that it is not able to handle composite keys?
  • Is it possible add the relationship manually to the model?


We fixed this by manually editing the edmx files.

0

精彩评论

暂无评论...
验证码 换一张
取 消