Class ViewKey
Cache key for queries that apply ordering/pagination to a base query. Represents a view of the base key's data.
public sealed class ViewKey : ManyKey
- Inheritance
-
ViewKey
- Inherited Members
Constructors
ViewKey(ManyKey, View)
Cache key for queries that apply ordering/pagination to a base query. Represents a view of the base key's data.
public ViewKey(ManyKey baseKey, View view)
Parameters
Fields
BaseKey
public readonly ManyKey BaseKey
Field Value
View
public readonly View View
Field Value
Properties
IsDeterministic
Whether the key describes the same set of rows whenever its query runs; if not, an entry stored under it is never fresh however recently it was read.
public override bool IsDeterministic { get; }
Property Value
Methods
AsGuids()
public override Guids AsGuids()
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetFilter()
protected override Expression? GetFilter()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.