RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey 结构

定义

唯一标识查询的键。 这用于在缓存中存储和查找查询的编译版本。

此类型通常由数据库提供程序 (和其他扩展) 使用。 它通常不用于应用程序代码。

protected struct RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey
protected readonly struct RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey
[System.Runtime.CompilerServices.IsReadOnly]
protected readonly struct RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey
[System.Runtime.CompilerServices.IsReadOnly]
protected readonly struct RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey : IEquatable<Microsoft.EntityFrameworkCore.Query.RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey>
Protected Structure RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey
Protected Structure RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey
Implements IEquatable(Of RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey)
继承
RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey
属性
实现

构造函数

RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey(CompiledQueryCacheKeyGenerator+CompiledQueryCacheKey, Boolean)

初始化 RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey 类的新实例。

RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey(CompiledQueryCacheKeyGenerator+CompiledQueryCacheKey, Boolean, Boolean)

初始化 RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey 类的新实例。

RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey(CompiledQueryCacheKeyGenerator+CompiledQueryCacheKey, Boolean, Nullable<QuerySplittingBehavior>, Boolean)

初始化 RelationalCompiledQueryCacheKeyGenerator.RelationalCompiledQueryCacheKey 类的新实例。

方法

Equals(Object)

确定此键是否等效于给定对象 (即它们是否是同一查询) 的键。

Equals(RelationalCompiledQueryCacheKeyGenerator+RelationalCompiledQueryCacheKey)

指示当前对象是否等于同一类型的另一个对象。

GetHashCode()

获取密钥的哈希代码。

适用于