的陣列(或清單)這似乎將是很容易LINQ如何選擇與孩子集合,其中包含一個父一個或多個值
var orx = gg.Where(x=>x.ProductAttributes.Any (pa =>pa.AttributeId == "home"));
當產品屬性
回報GG有一個值「家」
我需要它返回的位置和GG已經產品屬性從數組值 即
var orx = gg.Where(x=>x.ProductAttributes.Any (pa =>pa.AttributeId in "home,work"));
的可能重複[Linq的到實體 - Sql「IN」子句](http://stackoverflow.com/questions/857973/linq-to-entities-sql-in-clause) – jrummell