Skip to main content

ICustomAggregateFormattable Members

Defines server-side processing for custom aggregate functions.

Properties

Name Description
Name When implemented by a custom aggregate function, specifies its name. Inherited from ICustomAggregate.

Methods

Name Description
CreateEvaluationContext() An object that stores the result’s intermediate state between the Process(Object, Object[]) method calls. Inherited from ICustomAggregate.
Format(Type, String[]) Builds a SQL command that calculates a custom aggregate function result on the server side.
GetResult(Object) Gets a custom aggregate function‘s result. Inherited from ICustomAggregate.
Process(Object, Object[]) Is called to process every element of a collection supplied to a custom aggregate function. Inherited from ICustomAggregate.
ResultType(Type[]) When implememnted by a custom aggregate function, determines its return value type based on the type of aggregate function parameters. Inherited from ICustomAggregate.
See Also