I have the following query:
DateTime cutoffDate = new DateTime(1997, 1, 1); var orders = from c in customers where c.Region == "WA" from o in c.Orders where o.OrderDate >= cutoffDate select new { c.CustomerID, o.OrderID };
How can this be written to Linq Lambda? BTW, is this known as a SelectMany request?
It can also be done by connecting, what are the pros and cons with this, as shown above.
source share