Click or drag to resize
QuerySource Class
Data query source which gets the data from specific SQL expression. That can be table name, view name, or more complex SQL expression.
Inheritance Hierarchy
System.Object
  CMS.DataEngine.AbstractQueryObject
    CMS.DataEngine.QueryParametersBase<QuerySource>
      CMS.DataEngine.QuerySourceBase<QuerySource>
        CMS.DataEngine.QuerySource

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

The QuerySource type exposes the following members.

Constructors
Fields
Properties
Methods
  NameDescription
Public methodApplyParametersTo
Applies this where condition to the target object
(Inherited from QueryParametersBase<TParent>.)
Public methodChanged
Marks the object as changed
(Inherited from AbstractQueryObject.)
Public methodClone
Creates the clone of the object.
(Inherited from QueryParametersBase<TParent>.)
Public methodCloneObject
Creates the clone of the object.
(Inherited from QueryParametersBase<TParent>.)
Public methodCopyPropertiesTo
Copies all the object properties to the given target class
(Inherited from QueryParametersBase<TParent>.)
Public methodEnsureParameters
Ensures data parameters for the given query
(Inherited from QueryParametersBase<TParent>.)
Public methodExpand
Expands the expression by replacing parameters with their values
(Inherited from QueryParametersBase<TParent>.)
Public methodGetSourceExpression
Gets the source expression represented as string
(Inherited from QuerySourceBase<TSource>.)
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 QueryParametersBase<TParent>.)
Public methodImmutable
Makes this object instance immutable, and next subsequent modification starts with a clone of the object.
(Inherited from QueryParametersBase<TParent>.)
Public methodIncludeDataParameters
Adds the data parameters to the current query parameters
(Inherited from QueryParametersBase<TParent>.)
Public methodInnerJoin(QuerySourceTable, IWhereCondition)
Joins the given source with another
(Inherited from QuerySourceBase<TSource>.)
Public methodInnerJoin(QuerySourceTable, String)
Joins the given source with another
(Inherited from QuerySourceBase<TSource>.)
Public methodInnerJoin(QuerySourceTable, String, String)
Joins the given source with another
(Inherited from QuerySourceBase<TSource>.)
Public methodInnerJoin<TObject>(String, String, IWhereCondition)
Joins the given source with another
(Inherited from QuerySourceBase<TSource>.)
Public methodJoin(QuerySourceTable, IWhereCondition, JoinTypeEnum)
Joins the given source with another
(Inherited from QuerySourceBase<TSource>.)
Public methodJoin(QuerySourceTable, String, JoinTypeEnum)
Joins the given source with another
(Inherited from QuerySourceBase<TSource>.)
Public methodJoin(QuerySourceTable, String, String, IWhereCondition, JoinTypeEnum)
Joins the given source with another
(Inherited from QuerySourceBase<TSource>.)
Public methodJoin<TObject>(String, String, JoinTypeEnum, IWhereCondition)
Joins the given source with another
(Inherited from QuerySourceBase<TSource>.)
Public methodLeftJoin(String, IWhereCondition)
Joins the given source with another
(Inherited from QuerySourceBase<TSource>.)
Public methodLeftJoin(String, String)
Joins the given source with another
(Inherited from QuerySourceBase<TSource>.)
Public methodLeftJoin(QuerySourceTable, String, String, IWhereCondition)
Joins the given source with another
(Inherited from QuerySourceBase<TSource>.)
Public methodLeftJoin<TObject>(String, String, IWhereCondition)
Joins the given source with another
(Inherited from QuerySourceBase<TSource>.)
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 methodRightJoin(QuerySourceTable, IWhereCondition)
Joins the given source with another
(Inherited from QuerySourceBase<TSource>.)
Public methodRightJoin(QuerySourceTable, String)
Joins the given source with another
(Inherited from QuerySourceBase<TSource>.)
Public methodRightJoin(QuerySourceTable, String, String, IWhereCondition)
Joins the given source with another
(Inherited from QuerySourceBase<TSource>.)
Public methodRightJoin<TObject>(String, String, IWhereCondition)
Joins the given source with another
(Inherited from QuerySourceBase<TSource>.)
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 QueryParametersBase<TParent>.)
Public methodToString()
Returns the string representation of the expression
(Inherited from QueryParametersBase<TParent>.)
Public methodToString(Boolean)
Returns the string representation of the expression, with possibility of expanding parameters
(Inherited from QuerySourceBase<TSource>.)
Protected methodTranslateSource
Translates the source to the final query expression
(Inherited from QuerySourceBase<TSource>.)
Top
Operators
See Also