Table of Contents

Interface IQueryComponentDescriptor

Namespace
NextORM.Core
Assembly
nextorm.core.dll

Immutable prepared state of a query component. It participates in the plan-cache key through StructuralHash and StructurallyEquals(IQueryComponentDescriptor?).

public interface IQueryComponentDescriptor
Extension Methods

Properties

ComponentType

The concrete component type.

Type ComponentType { get; }

Property Value

Type

Contribution

The contribution kind.

QueryComponentContribution Contribution { get; }

Property Value

QueryComponentContribution

Discriminator

A semantic discriminator (for example min/max).

string Discriminator { get; }

Property Value

string

Slot

The slot this component occupies.

Type Slot { get; }

Property Value

Type

StructuralHash

Structural hash of the full component state.

int StructuralHash { get; }

Property Value

int

Methods

StructurallyEquals(IQueryComponentDescriptor?)

Determines structural equality with another prepared descriptor.

bool StructurallyEquals(IQueryComponentDescriptor? other)

Parameters

other IQueryComponentDescriptor

Returns

bool