/ Published in: C#
Uses lambda and any operator to filter list.
Expand |
Embed | Plain Text
from c in context.Contacts where c.Addresses.Any(a => a.CountryRegion == "UK") select c;
You need to login to post a comment.
housecor on 10/27/10
1 person have marked this snippet as a favorite
Uses lambda and any operator to filter list.
from c in context.Contacts where c.Addresses.Any(a => a.CountryRegion == "UK") select c;
You need to login to post a comment.