Export (0) Print
Expand All

DbQuery Methods

Entity Framework 5.0

The DbQuery type exposes the following members.

  Name Description
Public method AsNoTracking Returns a new query where the entities returned will not be cached in the DbContext.
Public method Cast<TElement> Returns the equivalent generic DbQuery<TResult> object.
Public method Equals Returns whether the specified query is equal to the current query. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns the hash function for the specified query. (Overrides Object.GetHashCode().)
Public method GetType Gets the type for the current query.
Public method Include Returns the included non generic LINQ to Entities query against a DbContext.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a String representation of the underlying query. (Overrides Object.ToString().)
Top

  Name Description
Public Extension Method 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.)
Top

  Name Description
Explicit interface implemetation Private method IEnumerable.GetEnumerator Gets the enumeration of this query causing it to be executed against the store.
Explicit interface implemetation Private method IListSource.GetList Throws an exception indicating that binding directly to a store query is not supported.
Top
Show:
© 2014 Microsoft