'Declaration Public Overloads Function AttachAggregationView(Of TResult)( _ ByVal subqueryId As Object, _ ByVal selector As Func(Of View(Of T),AggregationView(Of T,TResult)) _ ) As AggregationView(Of T,TResult)
public AggregationView<T,TResult> AttachAggregationView<TResult>( object subqueryId, Func<View<T>,AggregationView<T,TResult>> selector )
Parameters
- subqueryId
- A string uniquely specifying this subquery in the view to which it is attached. Can be any string. The only requirement is that different subqueries attached to the same view, if such exist, must have different subquery ids.
- selector
- A function to obtain the attached aggregation subview from the view to which it is attached.
Type Parameters
- TResult
- The type of the elements in the aggregation subview.
Return Value
The attached aggregation subview.