Class ArrayJoinProjection<TEntity, TElement>
Projection exposed by ArrayJoinElement/LeftArrayJoinElement: Item1 is
the original query entity and Element the value expanded by the bound
ARRAY JOIN. Use it to reference both in Select/Where, for example
From<IArrayEntity>().ArrayJoinElement(e => e.Tags).Select(p => new { p.Item1.Id, Tag = p.Element }).
public class ArrayJoinProjection<TEntity, TElement> : IArrayJoinProjection
Type Parameters
TEntityThe query's entity type.
TElementThe element type of the joined array.
- Inheritance
-
ArrayJoinProjection<TEntity, TElement>
- Implements
- Inherited Members
- Extension Methods
Properties
Element
The value expanded by the bound ARRAY JOIN for the current row.
public TElement Element { get; init; }
Property Value
- TElement
Item1
The original query entity.
public TEntity Item1 { get; init; }
Property Value
- TEntity