| QuerySourceBaseTSource Class |
Namespace: CMS.DataEngine
public class QuerySourceBase<TSource> : QueryParametersBase<TSource>, IQuerySource, IQueryParameters, IQueryObject where TSource : new(), QuerySourceBase<TSource>
The QuerySourceBaseTSource type exposes the following members.
| Name | Description | |
|---|---|---|
| QuerySourceBaseTSource |
Default constructor
| |
| QuerySourceBaseTSource(String) |
Constructor
|
| 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.) | |
| 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.) | |
| InnerJoin(String, IWhereCondition) |
Joins the given source with another
| |
| InnerJoin(String, String) |
Joins the given source with another
| |
| InnerJoin(String, String, String) |
Joins the given source with another
| |
| InnerJoinTObject(String, String, IWhereCondition) |
Joins the given source with another
| |
| Join(String, IWhereCondition, JoinTypeEnum) |
Joins the given source with another
| |
| Join(String, String, JoinTypeEnum) |
Joins the given source with another
| |
| Join(String, String, String, IWhereCondition, JoinTypeEnum) |
Joins the given source with another
| |
| JoinTObject(String, String, JoinTypeEnum, IWhereCondition) |
Joins the given source with another
| |
| LeftJoin(String, IWhereCondition) |
Joins the given source with another
| |
| LeftJoin(String, String) |
Joins the given source with another
| |
| LeftJoin(String, String, String, IWhereCondition) |
Joins the given source with another
| |
| LeftJoinTObject(String, String, IWhereCondition) |
Joins the given source with another
| |
| 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(String, IWhereCondition) |
Joins the given source with another
| |
| RightJoin(String, String) |
Joins the given source with another
| |
| RightJoin(String, String, String, IWhereCondition) |
Joins the given source with another
| |
| RightJoinTObject(String, String, IWhereCondition) |
Joins the given source with another
| |
| 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
(Overrides QueryParametersBaseTParentToString(Boolean).) | |
| TranslateSource |
Translates the source to the final query expression
| |
| Using |
Adds the given object to the list of the allocated objects to dispose
(Inherited from DisposableObject.) |
| Name | Description | |
|---|---|---|
| (QuerySourceBaseTSource to String) |
Implicit operator for conversion from query source to string expression
|
| Name | Description | |
|---|---|---|
| AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
| Name | Description | |
|---|---|---|
| mParameters |
Query data parameters
(Inherited from QueryParametersBaseTParent.) |
| Name | Description | |
|---|---|---|
| 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
| |
| Name |
Object name, empty by default
(Inherited from AbstractQueryObject.) | |
| Parameters |
Query data parameters
(Inherited from QueryParametersBaseTParent.) | |
| RightSourceName |
Left source name
| |
| SourceExpression |
Source expression
|