I have upgrade from EF 4.0 to EF 4.2
My context inherits from ObjectContext.
The strongly typed Include method (to include linked entities in the results) is not available on my entities sets (that inherit from ObjectSet).
Why?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It lives in using System.Data.Entity; and is an extension method for IQueryable
Try
using System.Data.Entityand see if it’s available.