Czy jest jakaś różnica w następujących zapytaniach LINQ? Chodzi mi o kwestie: wydajności, podejścia do użycia join (czy to jest poprawne i wskazane):
List<int> numbers = new List(int) {1,2,3,4,5};
List<Order> orders = GetOrders(); // metoda zwracająca listę zamówień
//1
var waOrders1 = from n in numbers
from o in o.Orders
where o.Id == n
select new { n, o.Details, o.OrderDate };
//2
var waOrders2 = from n in numbers
join o in orders on o.Id equals n
select new { n, o.Details, o.OrderDate };