Assume that homes in foreach (Cathom home at home) { is a list that you can do: IMBSBS service tableline & lt; CaT & gt; Query = catTable.Where (cat => cat.Name == "Bob" & houses.Conton (cat.HomeId)); Ensure that if IEnumerable.Contains works, but homes is a list & lt; CatHome & gt; It should be easy to change in .
No comments:
Post a Comment