Share via


DbSqlQuery.AsNoTracking Method

Definition

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

public virtual System.Data.Entity.Infrastructure.DbSqlQuery AsNoTracking ();
abstract member AsNoTracking : unit -> System.Data.Entity.Infrastructure.DbSqlQuery
override this.AsNoTracking : unit -> System.Data.Entity.Infrastructure.DbSqlQuery
Public Overridable Function AsNoTracking () As DbSqlQuery

Returns

A new query with NoTracking applied.

Applies to