/// <summary> /// Returns a new query where the entities returned will not be cached in the <see cref="DbContext" />. /// </summary> /// <returns> A new query with NoTracking applied. </returns> public virtual DbQuery <TResult> AsNoTracking() { return(_internalQuery == null ? this : new DbQuery <TResult>(_internalQuery.AsNoTracking())); }
/// <summary> /// Returns a new query where the entities returned will not be cached in the <see cref="DbContext" />. /// </summary> /// <returns> A new query with NoTracking applied. </returns> public DbQuery <TResult> AsNoTracking() { return(new DbQuery <TResult>(_internalQuery.AsNoTracking())); }
// <inheritdoc /> public override DbQuery AsNoTracking() { return(new InternalDbQuery <TElement>(_internalQuery.AsNoTracking())); }