开发者

Entity Framework model from DB2 tables with composite keys

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜