CompiledQueryCacheKeyGenerator.GenerateCacheKeyCore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates the cache key for the given query.
protected Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey GenerateCacheKeyCore (System.Linq.Expressions.Expression query, bool async);
member this.GenerateCacheKeyCore : System.Linq.Expressions.Expression * bool -> Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey
Protected Function GenerateCacheKeyCore (query As Expression, async As Boolean) As CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey
Parameters
- query
- Expression
The query to get the cache key for.
- async
- Boolean
A value indicating whether the query will be executed asynchronously.
Returns
The cache key.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework