Table of Contents

Interface IExtendableProjection

Namespace
NextORM.Core
Assembly
nextorm.core.dll

An IProjection that can absorb one more item. Only projections below the maximum supported join arity implement it, so callers probe with is rather than assuming every projection can be extended.

The maximum supported join arity is 8 tables (Projection<T1..Item8>); that projection deliberately does not implement this interface. To keep composing past the cap, project the accumulated join into a named type with EntityBuilder<T>.As<TResult>(...) and continue from the resulting derived table.

public interface IExtendableProjection : IProjection
Extension Methods

Methods

Extend<T>(T)

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

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.