Table of Contents

Class ArrayJoinProjection<TEntity, TElement>

Namespace
NextORM.Core
Assembly
nextorm.core.dll

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

TEntity

The query's entity type.

TElement

The 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