New to Telerik UI for WinFormsStart a free 30-day trial

Represents an aggregate description for QueryableDataProvider.

Definition

Namespace:Telerik.Pivot.Queryable

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

C#
[DataContract]
public abstract class QueryableAggregateDescription : QueryableAggregateDescriptionBase, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable, IAggregateDescription, IDescriptionBase, INamed

Inheritance: objectCloneableSettingsNodeDescriptionBaseAggregateDescriptionBaseQueryableAggregateDescriptionBaseQueryableAggregateDescription...

Derived Classes: QueryablePropertyAggregateDescriptionBase

Implements: IAggregateDescriptionIDescriptionBaseIEditableINamedINotifyPropertyChangedIServiceProviderISupportInitialize...

Inherited Members QueryableAggregateDescriptionBase.CloneCore(Cloneable)QueryableAggregateDescriptionBase.StringFormatQueryableAggregateDescriptionBase.StringFormatSelectorAggregateDescriptionBase.TotalFormatAggregateDescriptionBase.DisplayValueAsKpiDescriptionBase.GetDisplayName()DescriptionBase.GetUniqueName()DescriptionBase.DisplayNameDescriptionBase.CustomNameSettingsNode.NotifyServicesChanged()SettingsNode.NotifySettingsChanged(SettingsChangedEventArgs)SettingsNode.OnSettingsChanged(SettingsChangedEventArgs)SettingsNode.BeginEdit()SettingsNode.BeginInit()SettingsNode.EndInit()SettingsNode.GetService(Type)SettingsNode.OnPropertyChanged(string)SettingsNode.RemoveSettingsChild(SettingsNode)SettingsNode.AddSettingsChild(SettingsNode)SettingsNode.GetServiceOverride(Type)SettingsNode.OnEnteredEditScope()SettingsNode.OnExitingEditScope()SettingsNode.ParentSettingsNode.SettingsChangedSettingsNode.ServicesChangedSettingsNode.PropertyChangedCloneable.Clone()Cloneable.CreateInstanceCore()...

Properties

Gets the name of the aggregate method on the ExtensionMethodsType that will be used for aggregation.

C#
protected abstract string AggregateMethodName { get; }
Property Value:

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.

C#
protected virtual Type ExtensionMethodsType { get; }
Property Value:

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.

C#
[DataMember]
public virtual string FunctionName { get; set; }
Property Value:

The name of the function as visible from the group record.

Methods

Creates the aggregate expression.

C#
protected abstract Expression CreateAggregateExpression(Expression enumerableExpression, string aggregatedValueName)
Parameters:enumerableExpressionExpression

The grouping expression.

aggregatedValueNamestring

TODO: finish this.

Returns:

Expression

Creates the aggregate expression.

C#
protected abstract Expression CreateAggregateValueExpression(ParameterExpression itemExpression)
Parameters:itemExpressionParameterExpression

TODO: finish this.

Returns:

Expression

Generates identification string for this function using AggregateMethodName.

C#
protected abstract string GenerateFunctionName()
Returns:

string

Function identification string.