Click or drag to resize
QueryParametersBaseTParent Class
Generic variant of the abstract query object, provides fluent syntax
Inheritance Hierarchy
SystemObject
  CMS.DataEngineAbstractQueryObject
    CMS.DataEngineQueryParametersBaseTParent
      CMS.DataEngineQueryColumnBaseTColumn
      CMS.DataEngineQueryExpressionBaseTExpression
      CMS.DataEngineQuerySourceBaseTSource
      CMS.DataEngineWhereConditionBaseTParent

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public abstract class QueryParametersBase<TParent> : AbstractQueryObject, 
	IQueryParameters<TParent>, IQueryParameters, IQueryObject
where TParent : new(), QueryParametersBase<TParent>

Type Parameters

TParent

The QueryParametersBaseTParent type exposes the following members.

Constructors
Fields
  NameDescription
Protected fieldmParameters
Query data parameters
Top
Properties
  NameDescription
Protected propertyIsImmutable
If true, this object instance is immutable, and next subsequent modification starts with a clone of the object.
Public propertyName
Object name, empty by default
(Inherited from AbstractQueryObject.)
Public propertyParameters
Query data parameters
(Overrides AbstractQueryObjectParameters.)
Top
Methods
  NameDescription
Public methodApplyParametersTo
Applies this where condition to the target object
(Overrides AbstractQueryObjectApplyParametersTo(IQueryObject).)
Public methodChanged
Marks the object as changed
(Inherited from AbstractQueryObject.)
Public methodClone
Creates the clone of the object.
Public methodCloneObject
Creates the clone of the object.
(Overrides AbstractQueryObjectCloneObject.)
Public methodCopyPropertiesTo
Copies all the object properties to the given target class
Public methodEnsureParameters
Ensures data parameters for the given query
Public methodExpand
Expands the expression by replacing parameters with their values
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.
Public methodImmutable
Makes this object instance immutable, and next subsequent modification starts with a clone of the object.
Public methodIncludeDataParameters
Adds the data parameters to the current query parameters
(Overrides AbstractQueryObjectIncludeDataParameters(QueryDataParameters, String).)
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.
Public methodToString
Returns the string representation of the expression
(Overrides ObjectToString.)
Public methodToString(Boolean)
Returns the string representation of the expression, with possibility of expanding parameters
Top
See Also