Name | Description | |
---|---|---|
Count | Gets the number of queries in the cache. | |
MaxSize | Gets or sets maximal number of queries in the cache. |
The following tables list the members exposed by CompiledQueryCache.
Name | Description | |
---|---|---|
Count | Gets the number of queries in the cache. | |
MaxSize | Gets or sets maximal number of queries in the cache. |
Name | Description | |
---|---|---|
Clear | Clears the cache. | |
GetCache | Returns the existing instance of the CompiledQueryCache class, that caches queries from the specified DataContext. | |
IsDataContextRegistered | Checks if the queries for the specified DataContext type are cached. | |
RegisterDataContext | Registers data context by type for caching queries from it and starts caching queries. | |
UnRegisterDataContext | Stops caching queries for the specified context type. |