Code First adding to collections? How to use Code First with repositories?

前端 未结 6 1336
执笔经年
执笔经年 2020-12-17 14:58

EDIT: This happen only on larger scale projects with repositories. Is there anybody using EF4 with CodeFirst approach and using repositories? Please advise me.

Hi. I

6条回答
  •  情话喂你
    2020-12-17 15:57

    virtual on all the properties was the issue here for me.. Don't get why it have a impact like that when I did scaled it up to my project but that's how it was.. Hope this helps anybody that got the same issue..

提交回复
热议问题