Problems trying to attach a new EF4 entity to ObjectContext while its entity collection entities are already attached

后端 未结 3 631
迷失自我
迷失自我 2021-01-17 03:05

This is somewhat complicated to explain, so please bear with me.

I have an ASP.NET MVC 2 project that is slowly killing me in which I\'m trying to t

3条回答
  •  天命终不由人
    2021-01-17 03:46

    I got it to work by using Julie Lerman's original solution. I didn't have to detach/re-attach my platforms with my original, pre-DTO solution, so I thought I didn't need to here. In any event, it looks like I need to do more research on how to handle the ObjectContext.

提交回复
热议问题