Class OuterRefMarker<T>
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
TThe 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
iintThe 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
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