DbSqlQuery.AsNoTracking Method ()

 

Returns a new query where the results of the query will not be tracked by the associated DbContext.

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

public virtual DbSqlQuery AsNoTracking()

Return Value

Type: System.Data.Entity.Infrastructure.DbSqlQuery

A new query with NoTracking applied.