Table of Contents

Interface IExpressionCacheKey

Namespace
LinqToDB.Internal.Linq
Assembly
linq2db.dll

Marks a value stored in a ConstantExpression as participating in the linq2db query cache key. Types implementing this interface are kept in the cached expression (not replaced with a ConstantPlaceholderExpression) so that distinct instances hash and compare by value via their own object.GetHashCode() and object.Equals(object) overrides.

public interface IExpressionCacheKey
Extension Methods

Remarks

Implementers must be immutable and provide value-based equality.