Interface IExtendableProjection
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
newItemTThe value to append as the next
ItemNproperty.
Returns
- IProjection
A new projection that also exposes the appended item.
Type Parameters
TThe type of the item to append.