CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey 結構
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
一個唯一識別查詢的鍵。 此工具用於在快取中儲存及查詢已編譯的查詢版本。
此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。
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() |
取得金鑰的雜湊碼。 |