EF Query With Conditinal Include

Posted by Esteban Araya on Stack Overflow See other posts from Stack Overflow or by Esteban Araya
Published on 2009-10-08T03:18:47Z Indexed on 2010/04/16 5:23 UTC
Read the original article Hit count: 231

Filed under:

I have two tables: a WorkItem table, and a WorkItemNote table. How do I return a WorkItem and all of the WorkItemNotes that meet a certain criteria?

I think this should be simple, almost like a conditional "Include", right?

© Stack Overflow or respective owner

Related posts about entity-framework