Click or drag to resize
QueryExpression Class
Represents a general query expression
Inheritance Hierarchy
SystemObject
  CMS.DataEngineAbstractQueryObject
    CMS.DataEngineQueryParametersBaseQueryExpression
      CMS.DataEngineQueryExpressionBaseQueryExpression
        CMS.DataEngineQueryExpression

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public class QueryExpression : QueryExpressionBase<QueryExpression>

The QueryExpression type exposes the following members.

Constructors
Fields
Properties
Methods
  NameDescription
Public methodApplyParametersTo
Applies this where condition to the target object
(Inherited from QueryParametersBaseTParent.)
Public methodAsColumn
Creates a column from the given expression
(Inherited from QueryExpressionBaseTExpression.)
Public methodAsValue
Gets a query expression representing this object as a value
(Inherited from QueryExpressionBaseTExpression.)
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 QueryExpressionBaseTExpression.)
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 a query expression representing this object as a value
(Inherited from QueryExpressionBaseTExpression.)
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 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 QueryExpressionBaseTExpression.)
Top
See Also