Compartilhar via


RelationalCompiledQueryCacheKeyGenerator.GenerateCacheKeyCore Método

Definição

Gera a chave de cache para a consulta fornecida.

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

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