DbExtensions Methods

Entity Framework 5.0

The DbExtensions type exposes the following members.

  Name Description
Public method Static member AsNoTracking(IQueryable) Returns a new query where the entities returned will not be cached in the DbContext or ObjectContext.
Public method Static member AsNoTracking<T>(IQueryable<T>) Returns a new query where the entities returned will not be cached in the DbContext or ObjectContext.
Public method Static member Include(IQueryable, String) Specifies the related objects to include in the query results.
Public method Static member Include<T>(IQueryable<T>, String) Specifies the related objects to include in the query results.
Public method Static member Include<T, TProperty>(IQueryable<T>, Expression<Func<T, TProperty>>) Specifies the related objects to include in the query results.
Public method Static member Load An extension method on IQueryable that enumerates the results of the query. This is equivalent to calling ToList without actually creating the list.
Public method Static member ToBindingList<T> Returns an BindingList<T> implementation that stays in sync with the given ObservableCollection<T>.
Top
Show: