I have such database structure (1 - one, 0 - many)
Product 1->0 Orders 0->1 Users
I need to find all users for specified product, I have started writing linq query but don't know how to finish it.
public IQueryable<User> GetUsers(int productId)
{
return _db.Products.First(p => p.Id == productId)....
}