How do you convert a WhereSelectEnumerableIterator<foo, E开发者_JAVA技巧ntitySet<blah>>
to a IEnumerable<blah>
Answer: I've used SelectMany
from MSDN:
Projects each element of a sequence to an IEnumerable and flattens the resulting sequences into one sequence.
精彩评论