QueryMacros Class |
Namespace: CMS.DataEngine
public class QueryMacros
The QueryMacros type exposes the following members.
Name | Description | |
---|---|---|
QueryMacros |
Name | Description | |
---|---|---|
ResolveMacros |
Resolves the given macros within a query
| |
ToString |
Gets the string representation of the where condition
(Overrides ObjectToString.) |
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 | |
---|---|---|
COLUMNS |
Columns query macro
| |
DISTINCT |
Distinct query macro
| |
GROUPBY |
Group by query macro
| |
HAVING |
Having query macro
| |
ORDERBY |
Order by query macro
| |
SOURCE |
Source query macro
| |
TOPN |
Top N query macro
| |
VALUES |
Values query macro
| |
WHERE |
Where query macro
|
Name | Description | |
---|---|---|
Columns |
List of columns to select
| |
DefaultSource |
Default query source
| |
Distinct |
If set to true, returns only distinct (different) values.
| |
GroupBy |
List of columns to group by
| |
Having |
Where condition for the GroupBy clause
| |
OrderBy |
Order by
| |
Source |
Query source
| |
TopN |
Top N records
| |
Values |
List of values for the update / insert query
| |
Where |
Where condition
|