DbContext.IDbQueryCache.GetOrAddQuery(IDbQuerySource, Type) 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework