Click or drag to resize
ObjectSourceBaseTSource Class
Query source
Inheritance Hierarchy
SystemObject
  CMS.DataEngineAbstractQueryObject
    CMS.DataEngineQueryParametersBaseTSource
      CMS.DataEngineQuerySourceBaseTSource
        CMS.DataEngineObjectSourceBaseTSource
          CMS.DataEngineObjectSourceTObject

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public class ObjectSourceBase<TSource> : QuerySourceBase<TSource>
where TSource : new(), ObjectSourceBase<TSource>

Type Parameters

TSource

The ObjectSourceBaseTSource type exposes the following members.

Constructors
Fields
Properties
  NameDescription
Protected propertyClassName
Class name
Protected propertyIsImmutable
If true, this object instance is immutable, and next subsequent modification starts with a clone of the object.
(Inherited from QueryParametersBaseTParent.)
Protected propertyLeftSourceName
Left source name
(Inherited from QuerySourceBaseTSource.)
Public propertyName
Object name, empty by default
(Inherited from AbstractQueryObject.)
Protected propertyObject
Object instance of the specified type.
Public propertyObjectType
Returns the object type of the objects stored within the collection.
Public propertyParameters
Query data parameters
(Inherited from QueryParametersBaseTParent.)
Protected propertyRightSourceName
Left source name
(Inherited from QuerySourceBaseTSource.)
Public propertySourceExpression
Source expression
(Inherited from QuerySourceBaseTSource.)
Top
Methods
  NameDescription
Public methodApplyParametersTo
Applies this where condition to the target object
(Inherited from QueryParametersBaseTParent.)
Public methodChanged
Marks the object as changed
(Inherited from AbstractQueryObject.)
Public methodClone
Creates the clone of the object.
(Inherited from QueryParametersBaseTParent.)
Public methodCloneObject
Creates the clone of the object.
(Inherited from QueryParametersBaseTParent.)
Public methodCopyPropertiesTo
Copies all the object properties to the given target class
(Inherited from QueryParametersBaseTParent.)
Public methodEnsureParameters
Ensures data parameters for the given query
(Inherited from QueryParametersBaseTParent.)
Public methodExpand
Expands the expression by replacing parameters with their values
(Inherited from QueryParametersBaseTParent.)
Public methodGetSourceExpression
Gets the source expression represented as string
(Inherited from QuerySourceBaseTSource.)
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 QueryParametersBaseTParent.)
Public methodImmutable
Makes this object instance immutable, and next subsequent modification starts with a clone of the object.
(Inherited from QueryParametersBaseTParent.)
Public methodIncludeDataParameters
Adds the data parameters to the current query parameters
(Inherited from QueryParametersBaseTParent.)
Protected methodInitFromTypeT
Initializes the query from the given type
Public methodInnerJoin(QuerySourceTable, IWhereCondition)
Joins the given source with another
(Inherited from QuerySourceBaseTSource.)
Public methodInnerJoin(QuerySourceTable, String)
Joins the given source with another
(Inherited from QuerySourceBaseTSource.)
Public methodInnerJoin(QuerySourceTable, String, String)
Joins the given source with another
(Inherited from QuerySourceBaseTSource.)
Public methodInnerJoinTObject(String, String, IWhereCondition)
Joins the given source with another
(Inherited from QuerySourceBaseTSource.)
Public methodJoin(QuerySourceTable, IWhereCondition, JoinTypeEnum)
Joins the given source with another
(Inherited from QuerySourceBaseTSource.)
Public methodJoin(QuerySourceTable, String, JoinTypeEnum)
Joins the given source with another
(Inherited from QuerySourceBaseTSource.)
Public methodJoin(QuerySourceTable, String, String, IWhereCondition, JoinTypeEnum)
Joins the given source with another
(Inherited from QuerySourceBaseTSource.)
Public methodJoinTObject(String, String, JoinTypeEnum, IWhereCondition)
Joins the given source with another
(Inherited from QuerySourceBaseTSource.)
Public methodLeftJoin(String, IWhereCondition)
Joins the given source with another
(Inherited from QuerySourceBaseTSource.)
Public methodLeftJoin(String, String)
Joins the given source with another
(Inherited from QuerySourceBaseTSource.)
Public methodLeftJoin(QuerySourceTable, String, String, IWhereCondition)
Joins the given source with another
(Inherited from QuerySourceBaseTSource.)
Public methodLeftJoinTObject(String, String, IWhereCondition)
Joins the given source with another
(Inherited from QuerySourceBaseTSource.)
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 QuerySourceBaseTSource.)
Public methodRightJoin(QuerySourceTable, String)
Joins the given source with another
(Inherited from QuerySourceBaseTSource.)
Public methodRightJoin(QuerySourceTable, String, String, IWhereCondition)
Joins the given source with another
(Inherited from QuerySourceBaseTSource.)
Public methodRightJoinTObject(String, String, IWhereCondition)
Joins the given source with another
(Inherited from QuerySourceBaseTSource.)
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 QueryParametersBaseTParent.)
Public methodToString
Returns the string representation of the expression
(Inherited from QueryParametersBaseTParent.)
Public methodToString(Boolean)
Returns the string representation of the expression, with possibility of expanding parameters
(Inherited from QuerySourceBaseTSource.)
Protected methodTranslateSource
Translates the source to the final query expression
(Overrides QuerySourceBaseTSourceTranslateSource(QuerySourceTable).)
Protected methodTypeUpdated
Updates the query class name based on the current status
Top
See Also