Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DbQuery::AsNoTracking Method ()

Entity Framework 6.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)

public:
virtual DbQuery^ AsNoTracking()

Return Value

Type: System.Data.Entity.Infrastructure::DbQuery^

A new query with NoTracking applied.

Return to top
Show: