Class QueryableAggregateDescription
Represents an aggregate description for QueryableDataProvider.
Inheritance
Inherited Members
Namespace: Telerik.Pivot.Queryable
Assembly: Telerik.Pivot.DataProviders.Queryable.dll
Syntax
public abstract class QueryableAggregateDescription : QueryableAggregateDescriptionBase, INotifyPropertyChanged, ISupportInitialize, IObservableServiceProvider, IServiceProvider, IEditable, IAggregateDescription, IDescriptionBase, INamed, ITotalFormatHost, IDescriptionsReferencing, IStringFormattableAggregate
Properties
AggregateMethodName
Gets the name of the aggregate method on the ExtensionMethodsType that will be used for aggregation.
Declaration
protected abstract string AggregateMethodName { get; }
Property Value
System.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 System.Linq.Enumerable or Telerik.Pivot.Queryable.
Declaration
protected virtual Type ExtensionMethodsType { get; }
Property Value
System.Type
The type of that holds the extension methods. The default value is System.Linq.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
public virtual string FunctionName { get; set; }
Property Value
System.String
The name of the function as visible from the group record. |
Methods
CreateAggregateExpression(Expression, String)
Creates the aggregate expression.
Declaration
protected abstract Expression CreateAggregateExpression(Expression enumerableExpression, string aggregatedValueName)
Parameters
System.Linq.Expressions.Expression
enumerableExpression
The grouping expression. |
System.String
aggregatedValueName
TODO: finish this. |
Returns
System.Linq.Expressions.Expression
|
CreateAggregateValueExpression(ParameterExpression)
Creates the aggregate expression.
Declaration
protected abstract Expression CreateAggregateValueExpression(ParameterExpression itemExpression)
Parameters
System.Linq.Expressions.ParameterExpression
itemExpression
TODO: finish this. |
Returns
System.Linq.Expressions.Expression
|
GenerateFunctionName()
Generates identification string for this function using AggregateMethodName.
Declaration
protected abstract string GenerateFunctionName()
Returns
System.String
Function identification string. |