A good way would be to try on the other hand, like this
var customers from p in Order where p.ProductId == 6 select p.Customer
And, of course, you need to add the Customer property to the Order class, like this
public class Order { public int ID { get; set; } public int ProductID { get set; } public Customer Customer { get; set; } }
source share