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

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
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 methodCallOnDispose
Adds the given action to the list of actions called when the handler object is disposed
(Inherited from DisposableObject.)
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 methodDispose
Make sure the objects get disposed
(Inherited from DisposableObject.)
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 methodChanged
Marks the object as changed
(Inherited from AbstractQueryObject.)
Public methodImmutable
Makes this object instance is 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 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.
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
Public methodUsing
Adds the given object to the list of the allocated objects to dispose
(Inherited from DisposableObject.)
Top
See Also