Share via


RelationalCompiledQueryCacheKeyGenerator.GenerateCacheKeyCore Method

Definition

Generates the cache key for the given query.

protected Microsoft.EntityFrameworkCore.Query.RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey GenerateCacheKeyCore (System.Linq.Expressions.Expression query, bool async);
override this.GenerateCacheKeyCore : System.Linq.Expressions.Expression * bool -> Microsoft.EntityFrameworkCore.Query.RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey
Protected Function GenerateCacheKeyCore (query As Expression, async As Boolean) As RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey

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