ICompiledQueryCacheKeyGenerator.GenerateCacheKey(Expression, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates a cache key.
public object GenerateCacheKey (System.Linq.Expressions.Expression query, bool async);
abstract member GenerateCacheKey : System.Linq.Expressions.Expression * bool -> obj
Public Function GenerateCacheKey (query As Expression, async As Boolean) As Object
Parameters
- query
- Expression
The query to generate a cache key for.
- async
- Boolean
true
if the query will be executed asynchronously.
Returns
An object representing a query cache key.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework