ObjectSourceTObject Class |
Namespace: CMS.DataEngine
public class ObjectSource<TObject> : ObjectSourceBase<ObjectSource<TObject>> where TObject : new(), BaseInfo
The ObjectSourceTObject type exposes the following members.
Name | Description | |
---|---|---|
ObjectSourceTObject |
Constructor
| |
ObjectSourceTObject(String) |
Constructor
|
Name | Description | |
---|---|---|
mObject |
Object instance of specified type.
(Inherited from ObjectSourceBaseTSource.) | |
mObjectType |
Object type.
(Inherited from ObjectSourceBaseTSource.) | |
mParameters |
Query data parameters
(Inherited from QueryParametersBaseTParent.) |
Name | Description | |
---|---|---|
ClassName |
Class name
(Inherited from ObjectSourceBaseTSource.) | |
IsImmutable |
If true, this object instance is immutable, and next subsequent modification starts with a clone of the object.
(Inherited from QueryParametersBaseTParent.) | |
LeftSourceName |
Left source name
(Inherited from QuerySourceBaseTSource.) | |
Name |
Object name, empty by default
(Inherited from AbstractQueryObject.) | |
Object |
Object instance of the specified type.
(Inherited from ObjectSourceBaseTSource.) | |
ObjectType |
Returns the object type of the objects stored within the collection.
(Inherited from ObjectSourceBaseTSource.) | |
Parameters |
Query data parameters
(Inherited from QueryParametersBaseTParent.) | |
RightSourceName |
Left source name
(Inherited from QuerySourceBaseTSource.) | |
SourceExpression |
Source expression
(Inherited from QuerySourceBaseTSource.) |
Name | Description | |
---|---|---|
ApplyParametersTo |
Applies this where condition to the target object
(Inherited from QueryParametersBaseTParent.) | |
CallOnDispose |
Adds the given action to the list of actions called when the handler object is disposed
(Inherited from DisposableObject.) | |
Clone |
Creates the clone of the object.
(Inherited from QueryParametersBaseTParent.) | |
CloneObject |
Creates the clone of the object.
(Inherited from QueryParametersBaseTParent.) | |
CopyPropertiesTo |
Copies all the object properties to the given target class
(Inherited from QueryParametersBaseTParent.) | |
Dispose |
Make sure the objects get disposed
(Inherited from DisposableObject.) | |
EnsureParameters |
Ensures data parameters for the given query
(Inherited from QueryParametersBaseTParent.) | |
Expand |
Expands the expression by replacing parameters with their values
(Inherited from QueryParametersBaseTParent.) | |
GetSourceExpression |
Gets the source expression represented as string
(Inherited from QuerySourceBaseTSource.) | |
Changed |
Marks the object as changed
(Inherited from AbstractQueryObject.) | |
Immutable |
Makes this object instance is immutable, and next subsequent modification starts with a clone of the object.
(Inherited from QueryParametersBaseTParent.) | |
IncludeDataParameters |
Adds the data parameters to the current query parameters
(Inherited from QueryParametersBaseTParent.) | |
InitFromTypeT |
Initializes the query from the given type
(Inherited from ObjectSourceBaseTSource.) | |
InnerJoin(QuerySourceTable, IWhereCondition) |
Joins the given source with another
(Inherited from QuerySourceBaseTSource.) | |
InnerJoin(QuerySourceTable, String) |
Joins the given source with another
(Inherited from QuerySourceBaseTSource.) | |
InnerJoin(QuerySourceTable, String, String) |
Joins the given source with another
(Inherited from QuerySourceBaseTSource.) | |
InnerJoinTObject(String, String, IWhereCondition) |
Joins the given source with another
(Inherited from QuerySourceBaseTSource.) | |
Join(QuerySourceTable, IWhereCondition, JoinTypeEnum) |
Joins the given source with another
(Inherited from QuerySourceBaseTSource.) | |
Join(QuerySourceTable, String, JoinTypeEnum) |
Joins the given source with another
(Inherited from QuerySourceBaseTSource.) | |
Join(QuerySourceTable, String, String, IWhereCondition, JoinTypeEnum) |
Joins the given source with another
(Inherited from QuerySourceBaseTSource.) | |
JoinTObject(String, String, JoinTypeEnum, IWhereCondition) |
Joins the given source with another
(Inherited from QuerySourceBaseTSource.) | |
LeftJoin(String, IWhereCondition) |
Joins the given source with another
(Inherited from QuerySourceBaseTSource.) | |
LeftJoin(String, String) |
Joins the given source with another
(Inherited from QuerySourceBaseTSource.) | |
LeftJoin(QuerySourceTable, String, String, IWhereCondition) |
Joins the given source with another
(Inherited from QuerySourceBaseTSource.) | |
LeftJoinTObject(String, String, IWhereCondition) |
Joins the given source with another
(Inherited from QuerySourceBaseTSource.) | |
Lock |
Locks the event on the given lock object. The context stays locked until the handler is disposed.
(Inherited from DisposableObject.) | |
NewResult |
Returns properly typed this
(Inherited from QueryParametersBaseTParent.) | |
Reset |
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.) | |
RightJoin(QuerySourceTable, IWhereCondition) |
Joins the given source with another
(Inherited from QuerySourceBaseTSource.) | |
RightJoin(QuerySourceTable, String) |
Joins the given source with another
(Inherited from QuerySourceBaseTSource.) | |
RightJoin(QuerySourceTable, String, String, IWhereCondition) |
Joins the given source with another
(Inherited from QuerySourceBaseTSource.) | |
RightJoinTObject(String, String, IWhereCondition) |
Joins the given source with another
(Inherited from QuerySourceBaseTSource.) | |
Snapshot |
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.) | |
ToString |
Returns the string representation of the expression
(Inherited from QueryParametersBaseTParent.) | |
ToString(Boolean) |
Returns the string representation of the expression, with possibility of expanding parameters
(Inherited from QuerySourceBaseTSource.) | |
TranslateSource |
Translates the source to the final query expression
(Inherited from ObjectSourceBaseTSource.) | |
TypeUpdated |
Updates the query class name based on the current status
(Inherited from ObjectSourceBaseTSource.) | |
Using |
Adds the given object to the list of the allocated objects to dispose
(Inherited from DisposableObject.) |