AggregatedColumn Class |
Namespace: CMS.DataEngine
public class AggregatedColumn : SelectQueryColumnBase<AggregatedColumn>
The AggregatedColumn type exposes the following members.
Name | Description | |
---|---|---|
AggregatedColumn |
Constructor
| |
AggregatedColumn(AggregationType, String) |
Constructor
|
Name | Description | |
---|---|---|
mParameters |
Query data parameters
(Inherited from QueryParametersBaseTParent.) |
Name | Description | |
---|---|---|
AggregationType |
Aggregation type
| |
ColumnAlias |
Column alias
(Inherited from SelectQueryColumnBaseTColumn.) | |
EnsureBracketsForAlias |
If true, brackets for the column alias are ensured
(Inherited from SelectQueryColumnBaseTColumn.) | |
Expression |
Expression (column name)
(Inherited from QueryColumnBaseTColumn.) | |
IsImmutable |
If true, this object instance is immutable, and next subsequent modification starts with a clone of the object.
(Inherited from QueryParametersBaseTParent.) | |
IsSingleColumn |
Returns true if this column represents a single column
(Overrides QueryColumnBaseTColumnIsSingleColumn.) | |
Name |
Gets the column name
(Inherited from SelectQueryColumnBaseTColumn.) | |
Over |
Over clause for the aggregation.
When null, over clause is not generated at all, otherwise it is generated even when value is an empty string, in such case " OVER ()" is generated
| |
Parameters |
Query data parameters
(Inherited from QueryParametersBaseTParent.) | |
TypedThis |
Returns properly typed this
(Inherited from QueryColumnBaseTColumn.) |
Name | Description | |
---|---|---|
ApplyAggregation |
Applies the aggregation to the given expression
| |
ApplyOver |
Applies the over clause to the given expression
| |
ApplyParametersTo |
Applies this where condition to the target object
(Inherited from QueryParametersBaseTParent.) | |
As |
Sets the alias to the column
(Inherited from SelectQueryColumnBaseTColumn.) | |
AsAlias |
Returns the new column created from this column alias
(Inherited from QueryColumnBaseTColumn.) | |
AsValue |
Gets a query expression representing this object as a value
(Inherited from QueryColumnBaseTColumn.) | |
CallOnDispose |
Adds the given action to the list of actions called when the handler object is disposed
(Inherited from DisposableObject.) | |
Clone |
Creates the clone of the object.
(Inherited from QueryParametersBaseTParent.) | |
CloneObject |
Creates the clone of the object.
(Inherited from QueryParametersBaseTParent.) | |
CopyPropertiesTo |
Copies all the object properties to the given target class
(Inherited from QueryParametersBaseTParent.) | |
Dispose |
Make sure the objects get disposed
(Inherited from DisposableObject.) | |
EnsureParameters |
Ensures data parameters for the given query
(Inherited from QueryParametersBaseTParent.) | |
Expand |
Expands the expression by replacing parameters with their values
(Inherited from QueryParametersBaseTParent.) | |
GetExpression |
Gets the expression for the column data
(Inherited from SelectQueryColumnBaseTColumn.) | |
GetValueExpression |
Gets the column expression
(Overrides SelectQueryColumnBaseTColumnGetValueExpression.) | |
Changed |
Marks the object as changed
(Inherited from AbstractQueryObject.) | |
Immutable |
Makes this object instance is immutable, and next subsequent modification starts with a clone of the object.
(Inherited from QueryParametersBaseTParent.) | |
IncludeDataParameters |
Adds the data parameters to the current query parameters
(Inherited from QueryParametersBaseTParent.) | |
Lock |
Locks the event on the given lock object. The context stays locked until the handler is disposed.
(Inherited from DisposableObject.) | |
NewResult |
Returns properly typed this
(Inherited from QueryParametersBaseTParent.) | |
Reset |
Flushes the results but leaves the generated query text unchanged.
After the reset, query can be executed again to obtain new data.
(Inherited from AbstractQueryObject.) | |
Snapshot |
Creates an immutable snapshot of the current query as a base for further evaluation. Doesn't modify the original query in any way.
(Inherited from QueryParametersBaseTParent.) | |
ToString |
Returns the string representation of the expression
(Inherited from QueryParametersBaseTParent.) | |
ToString(Boolean) |
Returns the string representation of the expression, with possibility of expanding parameters
(Inherited from QueryColumnBaseTColumn.) | |
Using |
Adds the given object to the list of the allocated objects to dispose
(Inherited from DisposableObject.) | |
WithExpression |
Sets the expression
(Inherited from QueryColumnBaseTColumn.) |