2011-11-08 69 views

回答

3

喜欢的东西:

var results = parentCollection.Where(p => p.Children.All(c => <condition>)); 

应该做的伎俩。

+0

除非你的意思是使用Linq to SQL,我担心你可能会这样做。在这种情况下,这可能不起作用。 – Balthy