ClassQueryableAggregateDescription
Represents an aggregate description for QueryableDataProvider.
Definition
Namespace:Telerik.Pivot.Queryable
Assembly:Telerik.Pivot.DataProviders.Queryable.dll
Syntax:
[DataContract]
public abstract class QueryableAggregateDescription : QueryableAggregateDescriptionBase, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable, IAggregateDescription, IDescriptionBase, INamed
Inheritance: objectCloneableSettingsNodeDescriptionBaseAggregateDescriptionBaseQueryableAggregateDescriptionBaseQueryableAggregateDescription
Derived Classes:
Implements:
Inherited Members
Properties
AggregateMethodName
Gets the name of the aggregate method on the ExtensionMethodsType that will be used for aggregation.
Declaration
protected abstract string AggregateMethodName { get; }
Property Value
The name of the aggregate method that will be used.
ExtensionMethodsType
Gets the type of the extension methods that holds the extension methods for aggregation. For example Enumerable or Telerik.Pivot.Queryable.
Declaration
protected virtual Type ExtensionMethodsType { get; }
Property Value
The type of that holds the extension methods. The default value is Enumerable.
FunctionName
Gets or sets the name of the aggregate function, which appears as a property of the group record on which records the function works.
Declaration
[DataMember]
public virtual string FunctionName { get; set; }
Property Value
The name of the function as visible from the group record.
Methods
CreateAggregateExpression(Expression, string)
Creates the aggregate expression.
Declaration
protected abstract Expression CreateAggregateExpression(Expression enumerableExpression, string aggregatedValueName)
Parameters
enumerableExpression
The grouping expression.
aggregatedValueName
TODO: finish this.
Returns
CreateAggregateValueExpression(ParameterExpression)
Creates the aggregate expression.
Declaration
protected abstract Expression CreateAggregateValueExpression(ParameterExpression itemExpression)
Parameters
itemExpression
TODO: finish this.
Returns
GenerateFunctionName()
Generates identification string for this function using AggregateMethodName.
Declaration
protected abstract string GenerateFunctionName()
Returns
Function identification string.