I\'ve got a DBQuery
which converts to an IQueryable
(this bit works fine). But then I\'m trying to convert the IQueryable to an O
DbQuery
contains Include
method so you don't need to convert to ObjectQuery
. ObjectQuery
is not accessible from DbQuery
instance - it is wrapped in internal type InternalQuery
and conversion operator is not defined.
Btw. when you add using System.Data.Entity
and refrence CTP5 you will be able to call Include
on IQueryable
!