WhereBuilder Class |
Namespace: CMS.DataEngine
public class WhereBuilder
The WhereBuilder type exposes the following members.
Name | Description | |
---|---|---|
![]() | WhereBuilder |
Name | Description | |
---|---|---|
![]() | AddWhereCondition |
Adds the where condition to the existing one
|
![]() | GetBinaryOperator |
Gets the binary operator based on the expression type
|
![]() | GetEqualsOrNull |
Gets the equals or empty expression
|
![]() | GetExists |
Gets the EXISTS expression
|
![]() | GetIn |
Gets the IN expression
|
![]() | GetIsNull |
Gets the IS NULL expression
|
![]() | GetNegation |
Gets the negation of the given where condition
|
![]() | GetNestedWhereCondition |
Adds the where condition to the existing one
|
![]() | GetOperator |
Gets the operator string
|
![]() | GetParameter |
Gets a new parameter
|
![]() | GetWhere(String, QueryUnaryOperator) |
Gets the where condition for the given column
|
![]() | GetWhere(IQueryObjectWithValue, QueryUnaryOperator) |
Gets the where condition for the given column
|
![]() | GetWhere(String, QueryOperator, Object, QueryDataParameters) |
Gets the where condition for the given column
|
![]() | GetWhere(IQueryObjectWithValue, QueryOperator, Object, QueryDataParameters) |
Gets the where condition for the given expressions. Note that in this variant string value is always represented as a value. To pass in column name, you need to use new QueryColumn("Name")
|
![]() ![]() | RepresentsNull |
Returns true if the given value represents database NULL
|
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 | |
---|---|---|
![]() ![]() | EQUAL |
SQL "=" operator constant.
|
![]() ![]() | LIKE |
SQL "LIKE" operator constant.
|
![]() ![]() | NOT_EQUAL |
SQL "<>" operator constant.
|
![]() ![]() | NOT_LIKE |
SQL "NOT LIKE" operator constant.
|
Name | Description | |
---|---|---|
![]() ![]() | Default |
Default where builder
|
![]() | NULL |
Returns the NULL constant
|
![]() | OperatorAND |
Returns the AND operator
|
![]() | OperatorOR |
Returns the OR operator
|