Selective eager loading in Entity Framework

Posted by Ofer on Stack Overflow See other posts from Stack Overflow or by Ofer
Published on 2010-03-22T12:20:28Z Indexed on 2010/04/02 13:33 UTC
Read the original article Hit count: 229

Filed under:
|

Hello,

Is it possible to limit the number of associated entities eagerly loaded with Include?

e.g. I have Author and Book entities with a many-to-one relation I'd like to load all authors and their last book

Thanks.

© Stack Overflow or respective owner

Related posts about entity-framework

Related posts about c#