Table of Contents

Interface IQueryComponent

Namespace
NextORM.Core
Assembly
nextorm.core.dll

Narrow public contract for a query component. A component carries its own slot identity and handler; there is no global registry. The prepared descriptor is immutable and participates in the plan key.

public interface IQueryComponent
Extension Methods

Properties

Contribution

The kind of contribution this component makes.

QueryComponentContribution Contribution { get; }

Property Value

QueryComponentContribution

Slot

Stable slot identity (typically the component type).

Type Slot { get; }

Property Value

Type

Methods

BuildQuery(IQueryComponentBuildContext)

Builds the component's structural contribution into the command on a cache miss.

void BuildQuery(IQueryComponentBuildContext context)

Parameters

context IQueryComponentBuildContext

Prepare(IQueryComponentPrepareContext)

Prepares and validates the component against the command, returning an immutable descriptor.

IQueryComponentDescriptor Prepare(IQueryComponentPrepareContext context)

Parameters

context IQueryComponentPrepareContext

Returns

IQueryComponentDescriptor