I'm trying to implement the SelectMany statement inside of the dynamic linq expresion parser, such that I could run a query like so:
Customers.Select("Orders.SelectMany(OrderItems)")
Such that it would be equivilent to the linq query:
Customers.Select(cust => cust.Orders.SelectMany(ord => ord.OrderItems))
See http://stackoverflow.com/questions/20269475/how-to-implement-selectmany-in-system-linq-dynamic-expressionparser
I'm trying to implement the SelectMany statement inside of the dynamic linq expresion parser, such that I could run a query like so:
Customers.Select("Orders.SelectMany(OrderItems)")Such that it would be equivilent to the linq query:
Customers.Select(cust => cust.Orders.SelectMany(ord => ord.OrderItems))See http://stackoverflow.com/questions/20269475/how-to-implement-selectmany-in-system-linq-dynamic-expressionparser