語言

CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey 結構

定義

一個唯一識別查詢的鍵。 此工具用於在快取中儲存及查詢已編譯的查詢版本。

此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。

protected struct CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey
[System.Runtime.CompilerServices.IsReadOnly]
protected readonly struct CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey : IEquatable<Microsoft.EntityFrameworkCore.Query.CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey>
protected readonly struct CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey
[System.Runtime.CompilerServices.IsReadOnly]
protected readonly struct CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey
Protected Structure CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey
Protected Structure CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey
Implements IEquatable(Of CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey)
繼承
CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey
屬性
實作

建構函式

名稱 Description
CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey(Expression, IModel, QueryTrackingBehavior, Boolean)

初始化 CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey 類別的新執行個體。

方法

名稱 Description
Equals(CompiledQueryCacheKeyGenerator+CompiledQueryCacheKey)

指出目前的物件是否等於相同類型的另一個物件。

Equals(Object)

判斷此鍵是否等價於特定物件(即是否為同一查詢的鍵)。

GetHashCode()

取得金鑰的雜湊碼。

適用於