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.AsNoTracking Method ()


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)

Public Overridable Function AsNoTracking As DbQuery

Return Value

Type: System.Data.Entity.Infrastructure.DbQuery

A new query with NoTracking applied.

Return to top
© 2015 Microsoft