Condividi tramite


RelationalCompiledQueryCacheKeyGenerator.GenerateCacheKeyCore Metodo

Definizione

Genera la chiave della cache per la query specificata.

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

Parametri

query
Expression

Query per cui ottenere la chiave della cache.

async
Boolean

Valore che indica se la query verrà eseguita in modo asincrono.

Restituisce

Chiave di cache.

Si applica a