DbQuery Class
Entity Framework 5.0
Represents a non-generic LINQ to Entities query against a DbContext.
Namespace: System.Data.Entity.Infrastructure
Assembly: EntityFramework (in EntityFramework.dll)
The DbQuery type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AsNoTracking | Returns a new query where the entities returned will not be cached in the DbContext. |
![]() | Cast(Of TElement) | Returns the equivalent generic DbQuery(Of TResult) object. |
![]() | Equals | Returns whether the specified query is equal to the current query. (Overrides Object.Equals(Object).) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | Returns the hash function for the specified query. (Overrides Object.GetHashCode.) |
![]() | GetType | Gets the type for the current query. |
![]() | Include | Returns the included non generic LINQ to Entities query against a DbContext. |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | Returns a String representation of the underlying query. (Overrides Object.ToString.) |
| Name | Description | |
|---|---|---|
![]() | Load | An extension method on IQueryable that enumerates the results of the query. This is equivalent to calling ToList without actually creating the list. (Defined by DbExtensions.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IListSource.ContainsListCollection | Returns false. |
![]() ![]() | IQueryable.Expression | The IQueryable LINQ Expression. |
![]() ![]() | IEnumerable.GetEnumerator | Gets the enumeration of this query causing it to be executed against the store. |
![]() ![]() | IListSource.GetList | Throws an exception indicating that binding directly to a store query is not supported. |
![]() ![]() | IQueryable.Provider | The IQueryable provider. |
Show:

