error when using interfaces for Entity Framework (4.2) entities

前端 未结 2 1352
挽巷
挽巷 2020-12-07 02:40

I am using the the latest version of Entity Framework (4.2) and trying to implement interfaces for my Entities and for some reason, it isn\'t compiling. it is throwing an er

2条回答
  •  离开以前
    2020-12-07 03:07

    Entity framework is not able to work with interfaces. Your navigation properties must use the real entity types (mapped classes).

提交回复
热议问题