Table of Contents

Interface IQueryCache

Namespace
NextORM.Core
Assembly
nextorm.core.dll

Holds cached query plans, including the shared Any plan owned by the context.

public interface IQueryCache
Extension Methods

Properties

AnyCommand

The lazily built plan for Any, shared across calls on the context so a bare existence check does not rebuild its plan; null until first requested.

Lazy<QueryCommand<bool>>? AnyCommand { get; set; }

Property Value

Lazy<QueryCommand<bool>>

Methods

PurgeQueryCache()

Removes all cached plans and the shared Any plan, forcing them to be rebuilt on next use.

void PurgeQueryCache()