Represents an IDataProvider that works with IQueryable sources.
Definition
Namespace:Telerik.Pivot.Queryable
Assembly:Telerik.Pivot.DataProviders.Queryable.dll
Syntax:
public class QueryableDataProvider : DataProviderBase, IDataProvider, INotifyPropertyChanged, ISupportInitialize
Inheritance: objectDataProviderBaseQueryableDataProvider
Implements:
Inherited Members
Constructors
Initializes a new instance of the QueryableDataProvider class.
public QueryableDataProvider()
Properties
A list of QueryableAggregateDescription that specified how the pivot should be aggregated for the groups.
public Collection<QueryableAggregateDescriptionBase> AggregateDescriptions { get; }
Gets a list of CalculatedFields that can be used as a calculated aggregate values.
public Collection<CalculatedField> CalculatedFields { get; }
A list of QueryableGroupDescription that specified how the pivot should be grouped by columns.
public Collection<QueryableGroupDescription> ColumnGroupDescriptions { get; }
Gets or sets the CultureInfo used for grouping and formatting.
public CultureInfo Culture { get; set; }
A list of FilterDescription that specified how the pivot items should be filtered.
public Collection<QueryableFilterDescription> FilterDescriptions { get; }
Results
IPivotResults
protected override IPivotResults Results { get; }
Overrides:
A list of QueryableGroupDescription that specified how the pivot should be grouped by rows.
public Collection<QueryableGroupDescription> RowGroupDescriptions { get; }
Gets or sets the IQueryable data source.
public IQueryable Source { get; set; }
Gets the state object that is provided to GetDescriptionsDataAsync(object) method.
public override object State { get; }
The object that will be passed to GetDescriptionsDataAsync(object) method.
Overrides:
Methods
Block the calling thread until all calculations performed by calling Refresh() method completes.
public override void BlockUntilRefreshCompletes()
Overrides:
Creates an instance of IFieldDescriptionProvider for this IDataProvider.
protected override IFieldDescriptionProvider CreateFieldDescriptionsProvider()
Overrides:
Creates and returns an aggregate description suitable for the supplied field description.
protected override IAggregateDescription GetAggregateDescriptionForFieldDescriptionCore(IPivotFieldInfo description)
A IPivotFieldInfo instance.
Returns:An IAggregateDescription instance.
Overrides:
Returns a list of suitable functions for the supplied aggregate description.
[Obsolete("Not used. Obsoleted after 2013.Q2.SP1")]
public override IEnumerable<object> GetAggregateFunctionsForAggregateDescription(IAggregateDescription aggregateDescription)
A list of possible aggregate functions.
Overrides:
Returns a filter description suitable for the supplied field description.
protected override FilterDescription GetFilterDescriptionForFieldDescriptionCore(IPivotFieldInfo description)
A IPivotFieldInfo instance.
Returns:An FilterDescription instance.
Overrides:
Creates and returns a group description suitable for the supplied field description.
protected override IGroupDescription GetGroupDescriptionForFieldDescriptionCore(IPivotFieldInfo description)
A IPivotFieldInfo instance.
Returns:An IGroupDescription instance.
Overrides:
Recreates the Results.
protected override void RefreshOverride()
Overrides:
Set the aggregateFunction retrieved from GetAggregateFunctionsForAggregateDescription(IAggregateDescription) to the aggregateDescription.
[Obsolete("Not used. Obsoleted after 2013.Q2.SP1")]
public override void SetAggregateFunctionToAggregateDescription(IAggregateDescription aggregateDescription, object aggregateFunction)
The aggregate function.
Overrides: