Represents an abstraction of an aggregate descriptor, which aggregates by PropertyName.
Definition
Namespace:Telerik.Pivot.Queryable
Assembly:Telerik.WinControls.PivotGrid.dll
Syntax:
[DataContract]
public abstract class QueryablePropertyAggregateDescriptionBase : QueryableAggregateDescription, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable, IAggregateDescription, IDescriptionBase, INamed
Inheritance: objectCloneableSettingsNodeDescriptionBaseAggregateDescriptionBaseQueryableAggregateDescriptionBaseQueryableAggregateDescriptionQueryablePropertyAggregateDescriptionBase...
Derived Classes:
Implements:
Inherited Members
Constructors
protected QueryablePropertyAggregateDescriptionBase()
Properties
Gets or sets the aggregate function that will be used for summary calculation.
[DataMember]
public QueryableAggregateFunction AggregateFunction { get; set; }
Aggregation function.
Gets the name of the aggregate method on the ExtensionMethodsType that will be used for aggregation.
protected override string AggregateMethodName { get; }
The name of the aggregate method that will be used.
Overrides:
Provides the data type of the aggregate description.
protected Type DataType { get; }
Gets or sets a value that determines whether the QueryableAggregateFunctions of this QueryablePropertyAggregateDescriptionBase will ignore null values when calculating the result.
[DataMember]
public bool IgnoreNullValues { get; set; }
Gets or sets a value identifying a property on the grouped items.
[DataMember]
public string PropertyName { get; set; }
SupportedAggregateFunctions
IEnumerable<object>
Gets a list of suitable functions for the QueryablePropertyAggregateDescriptionBase.
protected virtual IEnumerable<object> SupportedAggregateFunctions { get; }
Methods
Makes the instance a clone (deep copy) of the specified Cloneable.
protected override void CloneCore(Cloneable source)
The object to clone.
Overrides:
Notes to Inheritors If you derive from Cloneable, you may need to override this method to copy all properties. It is essential that all implementations call the base implementation of this method (if you don't call base you should manually copy all needed properties including base properties).
Creates the aggregate expression.
protected override Expression CreateAggregateExpression(Expression enumerableExpression, string aggregatedValueName)
The grouping expression.
aggregatedValueNamestringTODO: finish this.
Returns:Overrides:
Creates the aggregate expression.
protected override Expression CreateAggregateValueExpression(ParameterExpression itemExpression)
TODO: finish this.
Returns:Overrides:
Generates identification string for this function using AggregateMethodName.
protected override string GenerateFunctionName()
Function identification string.
Overrides:
Returns the member name for this description.