Class AbstractQueryObject
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Base for any object participating in the Data query evaluation
public abstract class AbstractQueryObject : IQueryObject
- Inheritance
-
objectAbstractQueryObject
- Implements
- Derived
- Extension Methods
Properties
Name
Object name, empty by default
public virtual string Name { get; }
Property Value
- string
Parameters
Query parameters
public abstract QueryDataParameters Parameters { get; set; }
Property Value
Methods
ApplyParametersTo(IQueryObject)
Applies this query parameters to the target object
public abstract void ApplyParametersTo(IQueryObject target)
Parameters
target
IQueryObjectTarget object defining parameters
Changed()
Marks the object as changed
public virtual void Changed()
CloneObject()
Creates the clone of the object.
public abstract IQueryObject CloneObject()
Returns
IncludeDataParameters(QueryDataParameters, string)
Adds the data parameters to the current query parameters
public abstract string IncludeDataParameters(QueryDataParameters parameters, string expression)
Parameters
parameters
QueryDataParametersParameters to add
expression
stringExpression which refers to the parameters
Returns
- string
Reset()
Flushes the results but leaves the generated query text unchanged. After the reset, query can be executed again to obtain new data.
public virtual void Reset()