DbExtensions Class
Entity Framework 5.0
Contains a set of extension methods to help with common tasks.
Namespace: System.Data.Entity
Assembly: EntityFramework (in EntityFramework.dll)
The DbExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | AsNoTracking(IQueryable) | Returns a new query where the entities returned will not be cached in the DbContext or ObjectContext. |
![]() ![]() | AsNoTracking(Of T)(IQueryable(Of T)) | Returns a new query where the entities returned will not be cached in the DbContext or ObjectContext. |
![]() ![]() | Include(IQueryable, String) | Specifies the related objects to include in the query results. |
![]() ![]() | Include(Of T)(IQueryable(Of T), String) | Specifies the related objects to include in the query results. |
![]() ![]() | Include(Of T, TProperty)(IQueryable(Of T), Expression(Of Func(Of T, TProperty))) | Specifies the related objects to include in the query results. |
![]() ![]() | Load | An extension method on IQueryable that enumerates the results of the query. This is equivalent to calling ToList without actually creating the list. |
![]() ![]() | ToBindingList(Of T) | Returns an BindingList(Of T) implementation that stays in sync with the given ObservableCollection(Of T). |
Show:
