Table of Contents

Class RowNumberColumn

Namespace
CMS.DataEngine
Assembly
CMS.DataEngine.dll

Row number query column e.g. "ROW_NUMBER() OVER (ORDER BY DefaultCulture) AS CMS_RN"

public class RowNumberColumn : SelectQueryColumnBase<RowNumberColumn>, IQueryParameters<RowNumberColumn>, IQueryColumn, IQueryExpression, IQueryParameters, IQueryObjectWithValue, IQueryObject
Inheritance
object
RowNumberColumn
Implements
Inherited Members
Extension Methods

Constructors

RowNumberColumn()

Default constructor

public RowNumberColumn()

RowNumberColumn(string)

Constructor

public RowNumberColumn(string orderBy)

Parameters

orderBy string

Order by

RowNumberColumn(string, IQueryColumn)

Constructor

public RowNumberColumn(string columnName, IQueryColumn orderBy)

Parameters

columnName string

Column name

orderBy IQueryColumn

Order by

RowNumberColumn(string, string)

Constructor

public RowNumberColumn(string columnName, string orderBy)

Parameters

columnName string

Column name

orderBy string

Order by

Properties

IsSingleColumn

Returns true if this column represents a single column

public override bool IsSingleColumn { get; }

Property Value

bool

OrderBy

OrderBy expression for the row number

public string OrderBy { get; set; }

Property Value

string

PartitionBy

If set, the row order gets partitioned by specific column(s)

public string PartitionBy { get; set; }

Property Value

string

Methods

GetValueExpression()

Gets the expression for the column data

protected override string GetValueExpression()

Returns

string