Table of Contents

Class QueryAggregate

Namespace
Dynamicweb.Tracking.Reporting
Assembly
Dynamicweb.Tracking.dll
Represents a query aggregate.
public class QueryAggregate
Inheritance
QueryAggregate
Inherited Members

Constructors

QueryAggregate(AggregateType, string, Type)

Initializes a new instance of the QueryAggregate class.
public QueryAggregate(AggregateType aggregateType, string columnName, Type type)

Parameters

aggregateType AggregateType
Type of the aggregate.
columnName string
Name of the column.
type Type
The type.

QueryAggregate(AggregateType, string, Type, string)

Initializes a new instance of the QueryAggregate class.
public QueryAggregate(AggregateType aggregateType, string columnName, Type type, string alias)

Parameters

aggregateType AggregateType
Type of the aggregate.
columnName string
Name of the column.
type Type
The type.
alias string
The alias for the aggregate allowing for this aggregate to be referenced by the query.

Properties

Aggregate

Gets or sets the aggregate.
public AggregateType Aggregate { get; set; }

Property Value

AggregateType
The aggregate.

Alias

Gets or sets the alias of the aggregate. The alias can be used when building queries.
public string Alias { get; set; }

Property Value

string

AllowUnsafeColumnNames

Gets or sets a value indicating whether unsafe column names are allowed.
public bool AllowUnsafeColumnNames { get; set; }

Property Value

bool
true if unsafe column names are allowed; otherwise, false.

ColumnName

Gets or sets the name of the column.
public string ColumnName { get; set; }

Property Value

string
The name of the column.

Label

Gets or sets the label.
public string Label { get; set; }

Property Value

string
The label.

ValueType

Gets or sets the type of the value.
public Type ValueType { get; set; }

Property Value

Type
The type of the value.

Methods

GetParameter()

Gets the parameter.
public string GetParameter()

Returns

string
To top