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?
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?
It lives in using System.Data.Entity; and is an extension method for IQueryable
Try using System.Data.Entity
and see if it's available.