Return to Snippet

Revision: 34745
at October 27, 2010 23:59 by housecor


Initial Code
from c in context.Contacts
where c.Addresses.Any(a => a.CountryRegion == "UK")
select c;

Initial URL


Initial Description
Uses lambda and any operator to filter list.

Initial Title
Filtering EntityCollections in LINQ

Initial Tags


Initial Language
C#