Share via


CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey Struct

Definition

A key that uniquely identifies a query. This is used to store and lookup compiled versions of a query in a cache.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

protected struct CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey
protected readonly struct CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey
[System.Runtime.CompilerServices.IsReadOnly]
protected readonly struct CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey
[System.Runtime.CompilerServices.IsReadOnly]
protected readonly struct CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey : IEquatable<Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey>
Protected Structure CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey
Protected Structure CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey
Implements IEquatable(Of CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey)
Inheritance
CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey
Attributes
Implements

Constructors

CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey(Expression, IModel, QueryTrackingBehavior, Boolean)

Initializes a new instance of the CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey class.

Methods

Equals(CompiledQueryCacheKeyGenerator+CompiledQueryCacheKey)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Determines if this key is equivalent to a given object (i.e. if they are keys for the same query).

GetHashCode()

Gets the hash code for the key.

Applies to