Class NoLinqCache
Provides a scope, in which LINQ queries will not be added to a LINQ query cache. This could be used to tell linq2db to not cache queries that operate with big parametes. More details could be found here. Take into account that this class only disables adding of new query, created in its scope, to a cache. If query already present in cache - linq2db will use cached query.
public class NoLinqCache : IDisposable
- Inheritance
-
NoLinqCache
- Implements
- Extension Methods
Methods
Scope()
Creates disposable no-cache scope.
public static IDisposable Scope()