Click or drag to resize
QueryableExtensionsAggregate Method (IQueryable, AggregateFunction)
Calculates the results of a given aggregate function on a sequence of elements.

Namespace: Kettic.AspNet.Data.Extensions
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public static AggregateResultCollection Aggregate(
	this IQueryable source,
	AggregateFunction aggregateFunction
)

Parameters

source
Type: System.LinqIQueryable
An IQueryable whose elements will be used for aggregate calculation.
aggregateFunction
Type: Kettic.AspNet.DataAggregateFunction
The aggregate function.

Return Value

Type: AggregateResultCollection
Collection of AggregateResults calculated for the function.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQueryable. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also