Closed kayone closed 9 years ago
This test exercises this issue
GivenMovies(); var item = _repo.All<Movie>().Select(c => new { title = c.Director.Name }); item.ToList();
but calling to list that would convert the IQueryable to IList will resolve the issue.
GivenMovies(); var list = _repo.All<Movie>().ToList(); list.Select(c => new { title = c.Director.Name }); item.ToList();
This test exercises this issue
but calling to list that would convert the IQueryable to IList will resolve the issue.