| SelectCondition Class |
Namespace: CMS.DataEngine
public class SelectCondition : IDisposable
The SelectCondition type exposes the following members.
| Name | Description | |
|---|---|---|
| SelectCondition |
Constructor, prepares empty condition object.
| |
| SelectCondition(QueryDataParameters) |
Constructor, prepares empty condition object bound to specific query parameters.
| |
| SelectCondition(String, IListInt32, Boolean) |
Constructor, prepares the condition over IDs.
| |
| SelectCondition(String, IListString, Boolean) |
Constructor, prepares the condition over names (strings).
|
| Name | Description | |
|---|---|---|
| Dispose |
Disposes the object and removes the selection from the database if it was allocated in the temp table.
| |
| Prepare(String, IListInt32, Boolean) |
Prepares the condition over IDs.
| |
| Prepare(String, IListString, Boolean, Boolean) |
Prepares the condition over names (strings).
| |
| PrepareIDs |
Prepares the condition over IDs.
| |
| PrepareWhereCondition |
Prepares the where condition for the given list.
|
| 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 | |
|---|---|---|
| ALL_INLINE |
Constant for Inline limit property defining that all items should be processed inline
| |
| mGroupGUID |
Group GUID for the temp table.
| |
| mInlineLimit |
Limit of the number of items for the inline evaluation.
If there are more items than this limit, the where condition is returned in format:
ColumnName IN (SELECT ItemName FROM Func_Selection_ParseNames(@List_949939be_1bf7_48d9_bbd6_57facb5c8001))
Otherwise, inline format is used:
ColumnName IN (Value1, Value2, ...)
If set to -1, inline format is always used.
| |
| mParameters |
Query parameters.
| |
| mWhereCondition |
Where condition.
|
| Name | Description | |
|---|---|---|
| InlineLimit |
Limit of the number of items for the inline evaluation.
If there are more items than this limit, the where condition is returned in format:
ColumnName IN (SELECT ItemName FROM Func_Selection_ParseNames(@List_949939be_1bf7_48d9_bbd6_57facb5c8001))
Otherwise, inline format is used:
ColumnName IN (Value1, Value2, ...)
If set to -1, inline format is always used.
| |
| IsEmpty |
Returns true if the selection is empty.
| |
| WhereCondition |
Returns the resulting where condition.
|