Table of Contents

Class OuterRefMarker<T>

Namespace
NextORM.Core
Assembly
nextorm.core.dll

Marker for a reference to an element of an outer (ancestor) query scope, used while building correlated subqueries. It is only meaningful inside a query expression: the SQL translator rewrites OuterRefMarker<T>(idx).Ref.Member into a reference to the outer alias's column.

public class OuterRefMarker<T>

Type Parameters

T

The type of the referenced outer element.

Inheritance
OuterRefMarker<T>
Inherited Members
Extension Methods

Constructors

OuterRefMarker(int)

Marker for a reference to an element of an outer (ancestor) query scope, used while building correlated subqueries. It is only meaningful inside a query expression: the SQL translator rewrites OuterRefMarker<T>(idx).Ref.Member into a reference to the outer alias's column.

public OuterRefMarker(int i)

Parameters

i int

The zero-based index of the outer element in the correlated query scope.

Properties

I

The zero-based index of the referenced outer element, as passed to the constructor.

public int I { get; }

Property Value

int

Ref

Sentinel member that the translator looks for to identify an outer reference. It is never assigned, so at runtime its value is always the default for T.

public T? Ref { get; }

Property Value

T