ICompiledQueryCache ICompiledQueryCache Interface

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public interface ICompiledQueryCache
Public Interface ICompiledQueryCache

Methods

GetOrAddAsyncQuery(Object, Func<>>>) GetOrAddAsyncQuery(Of TResult)(Object, Func(Of Func(Of QueryContext, IAsyncEnumerable(Of TResult))))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Func<QueryContext, IAsyncEnumerable<TResult>> GetOrAddAsyncQuery<TResult>(object cacheKey, Func<Func<QueryContext, IAsyncEnumerable<TResult>>> compiler)
Function GetOrAddAsyncQuery(Of TResult)(cacheKey As Object, compiler As Func(Of Func(Of QueryContext, IAsyncEnumerable(Of TResult)))) As Func(Of QueryContext, IAsyncEnumerable(Of TResult))
Type Parameters
TResult
Parameters
cacheKey
System.Object System.Object
compiler
System.Func<System.Func<QueryContext, IAsyncEnumerable<TResult>>> System.Func(Of System.Func(Of QueryContext, IAsyncEnumerable(Of TResult)))
Returns
System.Func<QueryContext, IAsyncEnumerable<TResult>> System.Func(Of QueryContext, IAsyncEnumerable(Of TResult))

GetOrAddQuery(Object, Func<>>) GetOrAddQuery(Of TResult)(Object, Func(Of Func(Of QueryContext, TResult)))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Func<QueryContext, TResult> GetOrAddQuery<TResult>(object cacheKey, Func<Func<QueryContext, TResult>> compiler)
Function GetOrAddQuery(Of TResult)(cacheKey As Object, compiler As Func(Of Func(Of QueryContext, TResult))) As Func(Of QueryContext, TResult)
Type Parameters
TResult
Parameters
cacheKey
System.Object System.Object
compiler
System.Func<System.Func<QueryContext, TResult>> System.Func(Of System.Func(Of QueryContext, TResult))
Returns
System.Func<QueryContext, TResult> System.Func(Of QueryContext, TResult)