ClassQueryablePropertyAggregateDescriptionBase
Represents an abstraction of an aggregate descriptor, which aggregates by PropertyName.
Definition
Namespace:Telerik.Pivot.Queryable
Assembly:Telerik.Pivot.DataProviders.Queryable.dll
Syntax:
[DataContract]
public abstract class QueryablePropertyAggregateDescriptionBase : QueryableAggregateDescription, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable, IAggregateDescription, IDescriptionBase, INamed
Inheritance: objectCloneableSettingsNodeDescriptionBaseAggregateDescriptionBaseQueryableAggregateDescriptionBaseQueryableAggregateDescriptionQueryablePropertyAggregateDescriptionBase
Derived Classes:
Implements:
Inherited Members
Constructors
QueryablePropertyAggregateDescriptionBase()
Declaration
protected QueryablePropertyAggregateDescriptionBase()
Properties
AggregateFunction
Gets or sets the aggregate function that will be used for summary calculation.
Declaration
[DataMember]
public QueryableAggregateFunction AggregateFunction { get; set; }
Property Value
Aggregation function.
AggregateMethodName
Gets the name of the aggregate method on the ExtensionMethodsType that will be used for aggregation.
Declaration
protected override string AggregateMethodName { get; }
Property Value
The name of the aggregate method that will be used.
Overrides
DataType
Provides the data type of the aggregate description.
IgnoreNullValues
Gets or sets a value that determines whether the QueryableAggregateFunctions of this QueryablePropertyAggregateDescriptionBase will ignore null values when calculating the result.
Declaration
[DataMember]
public bool IgnoreNullValues { get; set; }
Property Value
PropertyName
Gets or sets a value identifying a property on the grouped items.
Declaration
[DataMember]
public string PropertyName { get; set; }
Property Value
SupportedAggregateFunctions
Gets a list of suitable functions for the QueryablePropertyAggregateDescriptionBase.
Declaration
protected virtual IEnumerable<object> SupportedAggregateFunctions { get; }
Property Value
Methods
CloneCore(Cloneable)
Makes the instance a clone (deep copy) of the specified Cloneable.
Declaration
protected override void CloneCore(Cloneable source)
Parameters
source
The object to clone.
Overrides
Remarks
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).
CreateAggregateExpression(Expression, string)
Creates the aggregate expression.
Declaration
protected override Expression CreateAggregateExpression(Expression enumerableExpression, string aggregatedValueName)
Parameters
enumerableExpression
The grouping expression.
aggregatedValueName
TODO: finish this.
Returns
Overrides
CreateAggregateValueExpression(ParameterExpression)
Creates the aggregate expression.
Declaration
protected override Expression CreateAggregateValueExpression(ParameterExpression itemExpression)
Parameters
itemExpression
TODO: finish this.
Returns
Overrides
GenerateFunctionName()
Generates identification string for this function using AggregateMethodName.
Declaration
protected override string GenerateFunctionName()
Returns
Function identification string.
Overrides
GetDisplayName()
Gets the display-friendly name.
GetUniqueName()
Returns the member name for this description.