I\'m trying to improve performance of a web application by caching a query.
public static Func, IQueryable
Ok it seems that in EF5 and greater the queries are automatically compiled and there is no need to compile them. The ObjectContext is not used anymore, and we have now DbContext: Compiled Query no implicit reference conversion to ObjectContext
Another interesting post on Compiled Query: http://blog.codinghorror.com/compiled-or-bust/