Nested/child collections filtering in Entity Framework (ver. 1 or 4)

Posted by gius on Stack Overflow See other posts from Stack Overflow or by gius
Published on 2010-05-26T09:57:04Z Indexed on 2010/05/26 10:21 UTC
Read the original article Hit count: 196

Filed under:
|

How to filter nested/child collections of entities when including them in EF?

Example: Let's have standard Customer-Orders association. How to load all customers and include only their last three orders in their Orders collection?

Is there something like AssociateWith function from L2S for EF?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about entity-framework