DbContext.IDbQueryCache.GetOrAddQuery(IDbQuerySource, Type) Method

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.

object IDbQueryCache.GetOrAddQuery (Microsoft.EntityFrameworkCore.Internal.IDbQuerySource source, Type type);
abstract member Microsoft.EntityFrameworkCore.Internal.IDbQueryCache.GetOrAddQuery : Microsoft.EntityFrameworkCore.Internal.IDbQuerySource * Type -> obj
override this.Microsoft.EntityFrameworkCore.Internal.IDbQueryCache.GetOrAddQuery : Microsoft.EntityFrameworkCore.Internal.IDbQuerySource * Type -> obj
Function GetOrAddQuery (source As IDbQuerySource, type As Type) As Object Implements IDbQueryCache.GetOrAddQuery

Parameters

source
Microsoft.EntityFrameworkCore.Internal.IDbQuerySource
type
Type

Returns

Implements

Microsoft.EntityFrameworkCore.Internal.IDbQueryCache.GetOrAddQuery(Microsoft.EntityFrameworkCore.Internal.IDbQuerySource,System.Type)

Applies to