Click or drag to resize
RowNumberColumn Class
Row number query column e.g. "ROW_NUMBER() OVER (ORDER BY DefaultCulture) AS CMS_RN"
Inheritance Hierarchy
System.Object
  CMS.Base.DisposableObject
    CMS.DataEngine.AbstractQueryObject
      CMS.DataEngine.QueryParametersBase<RowNumberColumn>
        CMS.DataEngine.QueryColumnBase<RowNumberColumn>
          CMS.DataEngine.SelectQueryColumnBase<RowNumberColumn>
            CMS.DataEngine.RowNumberColumn

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public class RowNumberColumn : SelectQueryColumnBase<RowNumberColumn>

The RowNumberColumn type exposes the following members.

Constructors
Methods
  NameDescription
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 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>.)
Protected methodGetValueExpression
Gets the expression for the column data
(Overrides SelectQueryColumnBase<TColumn>.GetValueExpression().)
Public methodChanged
Marks the object as changed
(Inherited from AbstractQueryObject.)
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.)
Protected methodNewResult
Returns properly typed this
(Inherited from QueryParametersBase<TParent>.)
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
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
Properties
  NameDescription
Public propertyColumnAlias
Column alias
(Inherited from SelectQueryColumnBase<TColumn>.)
Public propertyColumnName Obsolete.
Column name
(Inherited from QueryColumnBase<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
(Overrides QueryColumnBase<TColumn>.IsSingleColumn.)
Public propertyName
Gets the column name
(Inherited from SelectQueryColumnBase<TColumn>.)
Public propertyOrderBy
OrderBy expression for the row number
Public propertyParameters
Query data parameters
(Inherited from QueryParametersBase<TParent>.)
Public propertyPartitionBy
If set, the row order gets partitioned by specific column(s)
Protected propertyTypedThis
Returns properly typed this
(Inherited from QueryColumnBase<TColumn>.)
Top
See Also