LinqConnect Documentation
Devart.Data.Linq Namespace / CompiledQueryCache Class / GetCache Method
The type of the DataContext to cache queries from.

GetCache Method
Returns the existing instance of the CompiledQueryCache class, that caches queries from the specified DataContext.
Syntax
'Declaration
 
Public Shared Function GetCache( _
   ByVal dataContextType As Type _
) As CompiledQueryCache
 

Parameters

dataContextType
The type of the DataContext to cache queries from.

Return Value

The existing instance of the CompiledQueryCache class, that caches queries from the specified DataContext.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also