0

How do you change a linq group IQueryable<IEnumerable<T>> to IQueryable<T> ? So that i can join the iqueryable with other entities?

yohannist
  • 4,166
  • 3
  • 35
  • 58

2 Answers2

2

That's what the SelectMany method is for:

yourQueryable.SelectMany(x => x);
Selman Genç
  • 100,147
  • 13
  • 119
  • 184
1

MyIQueryable.SelectMany(item => item).AsQueryable()

sm_
  • 2,572
  • 2
  • 17
  • 34