Class Projection<T1, T2>
Accumulated result of a two-table join; items are exposed as Item1 and Item2.
public class Projection<T1, T2> : IExtendableProjection, IProjection
Type Parameters
T1T2
- 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
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.