问题
Is there a way to use lazy loading and self-tracking-entities while the context is open?
Will there be any issues and what do I have to consider?
Thanks a lot for your aswer in advance.
回答1:
Lazy loading is not supported with STEs at all because lazy loading demands dynamic proxy created over entity but STEs are not proxied by design - check additional notes in summary or MSDN question.
来源:https://stackoverflow.com/questions/6571954/self-tracking-entities-and-lazy-loading