EF4.1 Code First Complex Type as primary key

后端 未结 3 548
既然无缘
既然无缘 2021-01-04 08:49

I\'m currently trying to implement the repositories for my domain objects with the RC of Entity Framework 4.1 and its code first approach. Now I have a domain entity \"Voyag

3条回答
  •  庸人自扰
    2021-01-04 09:15

    This is the limitation. Key members can be only scalar properties directly in the entity. Complex type is represented as complex property which is not supported.

提交回复
热议问题