Situation (following are entities):
public class OrderItem
{
...
public Order Order
...
}
public class Order
{
...
public Customer Customer
....
}
public class Customer
{
public int Id
}
Question: how to create criteria, which gives me all OrderItems for some Customer id?