Click or drag to resize
CountColumn Class
Count column
Inheritance Hierarchy
System.Object
  CMS.Base.DisposableObject
    CMS.DataEngine.AbstractQueryObject
      CMS.DataEngine.QueryParametersBase<AggregatedColumn>
        CMS.DataEngine.QueryColumnBase<AggregatedColumn>
          CMS.DataEngine.SelectQueryColumnBase<AggregatedColumn>
            CMS.DataEngine.AggregatedColumn
              CMS.DataEngine.CountColumn

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
public class CountColumn : AggregatedColumn

The CountColumn type exposes the following members.

Constructors
  NameDescription
Public methodCountColumn
Constructor
Top
Fields
Properties
  NameDescription
Public propertyAggregationType
Aggregation type
(Inherited from AggregatedColumn.)
Public propertyColumnAlias
Column alias
(Inherited from SelectQueryColumnBase<TColumn>.)
Protected propertyEnsureBracketsForAlias
If true, brackets for the column alias are ensured
(Inherited from SelectQueryColumnBase<TColumn>.)
Public propertyExpression
Expression (column name)
(Inherited from QueryColumnBase<TColumn>.)
Protected propertyIsImmutable
If true, this object instance is immutable, and next subsequent modification starts with a clone of the object.
(Inherited from QueryParametersBase<TParent>.)
Public propertyIsSingleColumn
Returns true if this column represents a single column
(Inherited from AggregatedColumn.)
Public propertyName
Gets the column name
(Inherited from SelectQueryColumnBase<TColumn>.)
Public propertyOver
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
(Inherited from AggregatedColumn.)
Public propertyParameters
Query data parameters
(Inherited from QueryParametersBase<TParent>.)
Protected propertyTypedThis
Returns specifically typed current instance
(Inherited from QueryColumnBase<TColumn>.)
Top
Methods
  NameDescription
Protected methodApplyAggregation
Applies the aggregation to the given expression
(Inherited from AggregatedColumn.)
Protected methodApplyOver
Applies the over clause to the given expression
(Inherited from AggregatedColumn.)
Public methodApplyParametersTo
Applies this where condition to the target object
(Inherited from QueryParametersBase<TParent>.)
Public methodAs
Sets the alias to the column
(Inherited from SelectQueryColumnBase<TColumn>.)
Public methodAsAlias
Returns the new column created from this column alias
(Inherited from QueryColumnBase<TColumn>.)
Public methodAsValue
Gets a query expression representing this object as a value
(Inherited from QueryColumnBase<TColumn>.)
Public methodCallOnDispose
Adds the given action to the list of actions called when the handler object is disposed
(Inherited from DisposableObject.)
Public methodChanged
Marks the object as changed
(Inherited from AbstractQueryObject.)
Public methodClone
Creates the clone of the object.
(Inherited from QueryParametersBase<TParent>.)
Public methodCloneObject
Creates the clone of the object.
(Inherited from QueryParametersBase<TParent>.)
Public methodCopyPropertiesTo
Copies all the object properties to the given target class
(Inherited from QueryParametersBase<TParent>.)
Public methodDispose
Make sure the objects get disposed
(Inherited from DisposableObject.)
Public methodEnsureParameters
Ensures data parameters for the given query
(Inherited from QueryParametersBase<TParent>.)
Public methodExpand
Expands the expression by replacing parameters with their values
(Inherited from QueryParametersBase<TParent>.)
Public methodGetExpression
Gets the expression for the column data
(Inherited from SelectQueryColumnBase<TColumn>.)
Public methodGetTypedQuery
Returns specifically typed instance of current Query object to allow user to compose Query in fluent syntax. If current Query is immutable then its clone is returned.
(Inherited from QueryParametersBase<TParent>.)
Protected methodGetValueExpression
Gets the column expression
(Inherited from AggregatedColumn.)
Public methodImmutable
Makes this object instance is immutable, and next subsequent modification starts with a clone of the object.
(Inherited from QueryParametersBase<TParent>.)
Public methodIncludeDataParameters
Adds the data parameters to the current query parameters
(Inherited from QueryParametersBase<TParent>.)
Public methodLock
Locks the event on the given lock object. The context stays locked until the handler is disposed.
(Inherited from DisposableObject.)
Public methodReset
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.)
Public methodSnapshot
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 QueryParametersBase<TParent>.)
Public methodToString()
Returns the string representation of the expression
(Inherited from QueryParametersBase<TParent>.)
Public methodToString(Boolean)
Returns the string representation of the expression, with possibility of expanding parameters
(Inherited from QueryColumnBase<TColumn>.)
Public methodUsing
Adds the given object to the list of the allocated objects to dispose
(Inherited from DisposableObject.)
Public methodWithExpression
Sets the expression
(Inherited from QueryColumnBase<TColumn>.)
Top
See Also