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