Compartilhar via


CompiledQueryCacheKeyGenerator.GenerateCacheKeyCore Método

Definição

Gera a chave de cache para a consulta fornecida.

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

Parâmetros

query
Expression

A consulta para a qual obter a chave de cache.

async
Boolean

Um valor que indica se a consulta será executada de forma assíncrona.

Retornos

A chave em cache.

Aplica-se a