Table of Contents

Class Projection<T1, T2>

Namespace
NextORM.Core
Assembly
nextorm.core.dll

Accumulated result of a two-table join; items are exposed as Item1 and Item2.

public class Projection<T1, T2> : IExtendableProjection, IProjection

Type Parameters

T1
T2
Inheritance
Projection<T1, T2>
Implements
Inherited Members
Extension Methods

Properties

Item1

The value contributed by the first joined table.

public T1 Item1 { get; init; }

Property Value

T1

Item2

The value contributed by the second joined table.

public T2 Item2 { get; init; }

Property Value

T2

Methods

Extend<T>(T)

Absorbs newItem as the next projection item, returning a projection of one higher arity.

public IProjection Extend<T>(T newItem)

Parameters

newItem T

The value to append as the next ItemN property.

Returns

IProjection

A new projection that also exposes the appended item.

Type Parameters

T

The type of the item to append.