Click or drag to resize
QueryColumn Class
Simple query column e.g. "DocumentName" / "DocumentName AS Name"
Inheritance Hierarchy
SystemObject
  CMS.DataEngineAbstractQueryObject
    CMS.DataEngineQueryParametersBaseQueryColumn
      CMS.DataEngineQueryColumnBaseQueryColumn
        CMS.DataEngineSelectQueryColumnBaseQueryColumn
          CMS.DataEngineQueryColumn

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public sealed class QueryColumn : SelectQueryColumnBase<QueryColumn>

The QueryColumn type exposes the following members.

Constructors
Fields
Properties
  NameDescription
Public propertyColumnAlias
Column alias
(Inherited from SelectQueryColumnBaseTColumn.)
Protected propertyEnsureBracketsForAlias
If true, brackets for the column alias are ensured
(Inherited from SelectQueryColumnBaseTColumn.)
Public propertyExpression
Expression (column name)
(Inherited from QueryColumnBaseTColumn.)
Protected propertyIsImmutable
If true, this object instance is immutable, and next subsequent modification starts with a clone of the object.
(Inherited from QueryParametersBaseTParent.)
Public propertyIsSingleColumn
Returns true if this column represents a single column
(Overrides QueryColumnBaseTColumnIsSingleColumn.)
Public propertyName
Gets the column name
(Inherited from SelectQueryColumnBaseTColumn.)
Public propertyParameters
Query data parameters
(Inherited from QueryParametersBaseTParent.)
Protected propertyTypedThis
Returns specifically typed current instance
(Inherited from QueryColumnBaseTColumn.)
Top
Methods
  NameDescription
Public methodApplyParametersTo
Applies this where condition to the target object
(Inherited from QueryParametersBaseTParent.)
Public methodAs
Sets the alias to the column
(Inherited from SelectQueryColumnBaseTColumn.)
Public methodAsAlias
Returns the new column created from this column alias
(Inherited from QueryColumnBaseTColumn.)
Public methodAsValue
Gets a query expression representing this object as a value
(Inherited from QueryColumnBaseTColumn.)
Public methodChanged
Marks the object as changed
(Inherited from AbstractQueryObject.)
Public methodClone
Creates the clone of the object.
(Inherited from QueryParametersBaseTParent.)
Public methodCloneObject
Creates the clone of the object.
(Inherited from QueryParametersBaseTParent.)
Public methodCopyPropertiesTo
Copies all the object properties to the given target class
(Inherited from QueryParametersBaseTParent.)
Public methodEnsureParameters
Ensures data parameters for the given query
(Inherited from QueryParametersBaseTParent.)
Public methodExpand
Expands the expression by replacing parameters with their values
(Inherited from QueryParametersBaseTParent.)
Public methodStatic memberFromExpression
Creates a query column from the given expression
Public methodGetExpression
Gets the expression for the column data
(Inherited from SelectQueryColumnBaseTColumn.)
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 QueryParametersBaseTParent.)
Protected methodGetValueExpression
Gets the value expression of the columns
(Overrides SelectQueryColumnBaseTColumnGetValueExpression.)
Public methodImmutable
Makes this object instance immutable, and next subsequent modification starts with a clone of the object.
(Inherited from QueryParametersBaseTParent.)
Public methodIncludeDataParameters
Adds the data parameters to the current query parameters
(Inherited from QueryParametersBaseTParent.)
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 Obsolete.
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.)
Public methodToString
Returns the string representation of the expression
(Inherited from QueryParametersBaseTParent.)
Public methodToString(Boolean)
Returns the string representation of the expression, with possibility of expanding parameters
(Inherited from QueryColumnBaseTColumn.)
Public methodWithExpression
Sets the expression
(Inherited from QueryColumnBaseTColumn.)
Top
Extension Methods
  NameDescription
Public Extension MethodCast
Applies CAST function to the column.
(Defined by QueryColumnSqlFunctions.)
Public Extension MethodIsNull
Applies ISNULL function to the column.
(Defined by QueryColumnSqlFunctions.)
Public Extension MethodXmlExists
Applies an XML exists method against an XML column.
(Defined by QueryColumnXmlExtensions.)
Public Extension MethodXmlQuery
Applies an XQuery against an XML column.
(Defined by QueryColumnXmlExtensions.)
Public Extension MethodXmlValue
Applies an XML value method against an XML column.
(Defined by QueryColumnXmlExtensions.)
Top
See Also