Bahasa

CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey Struktur

Definisi

Kunci yang secara unik mengidentifikasi kueri. Ini digunakan untuk menyimpan dan mencari versi kueri yang dikompilasi dalam cache.

Jenis ini biasanya digunakan oleh penyedia database (dan ekstensi lainnya). Ini umumnya tidak digunakan dalam kode aplikasi.

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)
Warisan
CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey
Atribut
Penerapan

Konstruktor

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

Menginisialisasi instans baru dari kelas CompiledQueryCacheKeyGenerator.CompiledQueryCacheKey.

Metode

Nama Deskripsi
Equals(CompiledQueryCacheKeyGenerator+CompiledQueryCacheKey)

Menunjukkan apakah objek saat ini sama dengan objek lain dengan jenis yang sama.

Equals(Object)

Menentukan apakah kunci ini setara dengan objek tertentu (yaitu jika kunci tersebut adalah kunci untuk kueri yang sama).

GetHashCode()

Mendapatkan kode hash untuk kunci.

Berlaku untuk