Class
QueryableAggregateDescription

Represents an aggregate description for QueryableDataProvider.

Definition

Namespace:Telerik.Pivot.Queryable

Assembly:Telerik.Pivot.DataProviders.Queryable.dll

Syntax:

cs-api-definition
[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

AggregateMethodName

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

Declaration

cs-api-definition
protected abstract string AggregateMethodName { get; }

Property Value

string

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

cs-api-definition
protected virtual Type ExtensionMethodsType { get; }

Property Value

Type

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

cs-api-definition
[DataMember]
public virtual string FunctionName { get; set; }

Property Value

string

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

Methods

CreateAggregateExpression(Expression, string)

Creates the aggregate expression.

Declaration

cs-api-definition
protected abstract Expression CreateAggregateExpression(Expression enumerableExpression, string aggregatedValueName)

Parameters

enumerableExpression

Expression

The grouping expression.

aggregatedValueName

string

TODO: finish this.

Returns

Expression

CreateAggregateValueExpression(ParameterExpression)

Creates the aggregate expression.

Declaration

cs-api-definition
protected abstract Expression CreateAggregateValueExpression(ParameterExpression itemExpression)

Parameters

itemExpression

ParameterExpression

TODO: finish this.

Returns

Expression

GenerateFunctionName()

Generates identification string for this function using AggregateMethodName.

Declaration

cs-api-definition
protected abstract string GenerateFunctionName()

Returns

string

Function identification string.