Click or drag to resize
QueryColumnBaseTColumn Class
Query column
Inheritance Hierarchy
SystemObject
  CMS.BaseDisposableObject
    CMS.DataEngineAbstractQueryObject
      CMS.DataEngineQueryParametersBaseTColumn
        CMS.DataEngineQueryColumnBaseTColumn
          CMS.DataEngineOrderByColumn
          CMS.DataEngineSelectQueryColumnBaseTColumn

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
public abstract class QueryColumnBase<TColumn> : QueryParametersBase<TColumn>, 
	IQueryColumn, IQueryExpression, IQueryParameters, IQueryObject, IQueryObjectWithValue
where TColumn : new(), QueryColumnBase<TColumn>

Type Parameters

TColumn

The QueryColumnBaseTColumn type exposes the following members.

Constructors
Fields
Properties
  NameDescription
Public propertyExpression
Expression (column name)
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
Public propertyName
Gets the column name
(Overrides AbstractQueryObjectName.)
Public propertyParameters
Query data parameters
(Inherited from QueryParametersBaseTParent.)
Protected propertyTypedThis
Returns specifically typed current instance
Top
Methods
  NameDescription
Public methodApplyParametersTo
Applies this where condition to the target object
(Inherited from QueryParametersBaseTParent.)
Public methodAsAlias
Returns the new column created from this column alias
Public methodAsValue
Gets a query expression representing this object as a value
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 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 methodDispose
Make sure the objects get disposed
(Inherited from DisposableObject.)
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 methodGetExpression
Gets the expression for the column data
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.)
Public methodImmutable
Makes this object instance is 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 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 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
(Overrides QueryParametersBaseTParentToString(Boolean).)
Public methodUsing
Adds the given object to the list of the allocated objects to dispose
(Inherited from DisposableObject.)
Public methodWithExpression
Sets the expression
Top
Operators
See Also