ObjectQuery Class
Implements common functionality for queries against an Entity Data Model (EDM) using both LINQ to Entities and ObjectQuery(Of T).
Assembly: System.Data.Entity (in System.Data.Entity.dll)
ObjectQuery is the base class for queries against an Entity Data Model (EDM). ObjectQuery is provided to ensure that LINQ to Entities queries have the same functionality as queries executed using ObjectQuery(Of T). You must use ObjectQuery(Of T) with a specified type to query an EDM. For more information, see Object Queries (Entity Framework).
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.