What is the effect of AsEnumerable() on a LINQ Entity?
AsEnumerable() is effectively a cast to IEnumerable<T>, which makes member resolution find members of Enumerable instead of Queryable. It’s usually used when you want to force part of a query to run as SQL (or similar), and the remainder to run using LINQ to Objects. See my Edulinq blog post on it for more information. … Read more