WhereBuilder Class |
Namespace: CMS.DataEngine
public class WhereBuilder
The WhereBuilder type exposes the following members.
Name | Description | |
---|---|---|
WhereBuilder |
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
|
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
|