开发者

C# ASP.NET MVC ENTITY FRAMEWORK Error 1 Error 3032: Problem in mapping fragments starting at lines

Error 1 Error 3032: Problem in mapping fragments starting at lines 488, 553:EntityTypes Project_Dyn_Webapps.Models.Domain.Afwezigheid are being mapped to the same rows in table Afwezigheid. Mapping conditions can be used to distinguish the rows that these types are mapped to. C:\Users\Clauwaert开发者_JAVA百科\workspace\projectSVNCheckout\Project_Dyn_Webapps\Project_Dyn_Webapps\Models\Domain\WebSenseEtities.edmx 489 497 Project_Dyn_Webapps

anyone has had this error before and knows a fix for it?

ps: not sure what parts of code/design to post so just posted the error/problem


Found a post here, it may be helpful. It looks like you are trying to map hierarchy classes to the same table, and you need create some discriminate condition to map hierarchy class to the same table.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜