I am using Entity Framework Code First and ran into a small road block. I have a class \"Person\" defined as such:
public class Person { public Guid Id
Because you are querying an IEnumerable (ie: LINQ to Objects) not IQueryable (ie: LINQ to Entities) given by EF.
IEnumerable
IQueryable
Instead you should use
IEnumerable results = context.History.Where(h => h.Person.Id = "sfssd").OrderBy(h => h.OnDate).Take(50)