| QueryExpression Class |
Namespace: CMS.DataEngine
public class QueryExpression : QueryExpressionBase<QueryExpression>
The QueryExpression type exposes the following members.
| Name | Description | |
|---|---|---|
| QueryExpression |
Empty constructor
| |
| QueryExpression(String, QueryDataParameters) |
Constructor with expression
|
| Name | Description | |
|---|---|---|
| mParameters |
Query data parameters
(Inherited from QueryParametersBaseTParent.) |
| Name | Description | |
|---|---|---|
| Expression |
Expression
(Inherited from QueryExpressionBaseTExpression.) | |
| IsImmutable |
If true, this object instance is immutable, and next subsequent modification starts with a clone of the object.
(Inherited from QueryParametersBaseTParent.) | |
| Name |
Object name, empty by default
(Inherited from AbstractQueryObject.) | |
| Parameters |
Query data parameters
(Inherited from QueryParametersBaseTParent.) |
| Name | Description | |
|---|---|---|
| ApplyParametersTo |
Applies this where condition to the target object
(Inherited from QueryParametersBaseTParent.) | |
| AsColumn |
Creates a column from the given expression
(Inherited from QueryExpressionBaseTExpression.) | |
| AsValue |
Gets a query expression representing this object as a value
(Inherited from QueryExpressionBaseTExpression.) | |
| CallOnDispose |
Adds the given action to the list of actions called when the handler object is disposed
(Inherited from DisposableObject.) | |
| Changed |
Marks the object as changed
(Inherited from AbstractQueryObject.) | |
| Clone |
Creates the clone of the object.
(Inherited from QueryParametersBaseTParent.) | |
| CloneObject |
Creates the clone of the object.
(Inherited from QueryParametersBaseTParent.) | |
| CopyPropertiesTo |
Copies all the object properties to the given target class
(Inherited from QueryExpressionBaseTExpression.) | |
| Dispose |
Make sure the objects get disposed
(Inherited from DisposableObject.) | |
| EnsureParameters |
Ensures data parameters for the given query
(Inherited from QueryParametersBaseTParent.) | |
| Expand |
Expands the expression by replacing parameters with their values
(Inherited from QueryParametersBaseTParent.) | |
| GetExpression |
Gets a query expression representing this object as a value
(Inherited from QueryExpressionBaseTExpression.) | |
| GetTypedQuery |
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.) | |
| Immutable |
Makes this object instance is immutable, and next subsequent modification starts with a clone of the object.
(Inherited from QueryParametersBaseTParent.) | |
| IncludeDataParameters |
Adds the data parameters to the current query parameters
(Inherited from QueryParametersBaseTParent.) | |
| Lock |
Locks the event on the given lock object. The context stays locked until the handler is disposed.
(Inherited from DisposableObject.) | |
| Reset |
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.) | |
| Snapshot |
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.) | |
| ToString |
Returns the string representation of the expression
(Inherited from QueryParametersBaseTParent.) | |
| ToString(Boolean) |
Returns the string representation of the expression, with possibility of expanding parameters
(Inherited from QueryExpressionBaseTExpression.) | |
| Using |
Adds the given object to the list of the allocated objects to dispose
(Inherited from DisposableObject.) |