Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DbQuery(TResult).AsNoTracking Method

Entity Framework 5.0

Returns a new query where the entities returned will not be cached in the DbContext.

Namespace:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

member AsNoTracking : unit -> DbQuery<'TResult> 

Return Value

Type: System.Data.Entity.Infrastructure.DbQuery(TResult)
A new query with NoTracking applied.
© 2015 Microsoft