RelationalCompiledQueryCacheKeyGenerator.GenerateCacheKey Method

Definition

Generates the cache key for the given query.

public override object GenerateCacheKey (System.Linq.Expressions.Expression query, bool async);
override this.GenerateCacheKey : System.Linq.Expressions.Expression * bool -> obj
Public Overrides Function GenerateCacheKey (query As Expression, async As Boolean) As Object

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