2

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?

Richard
  • 106,783
  • 21
  • 203
  • 265
Marco Staffoli
  • 2,475
  • 2
  • 27
  • 29

1 Answers1

9

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.

Eva Lacy
  • 1,257
  • 10
  • 24