| QueryMacros Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: CMS.DataEngine
 Syntax
Syntaxpublic class QueryMacros
The QueryMacros type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | QueryMacros | 
 Fields
Fields| Name | Description | |
|---|---|---|
|   | COLUMNS | 
            Columns query macro
             | 
|   | DISTINCT | 
            Distinct query macro
             | 
|   | GROUPBY | 
            Group by query macro
             | 
|   | HAVING | 
            Having query macro
             | 
|   | ORDERBY | 
            Order by query macro
             | 
|   | OUTPUT | 
            Output from non query statement. Allows to return data from inserted and deleted rows.
             | 
|   | SOURCE | 
            Source query macro
             | 
|   | TOPN | 
            Top N query macro
             | 
|   | VALUES | 
            Values query macro
             | 
|   | WHERE | 
            Where query macro
             | 
 Properties
Properties| 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
             | 
|  | Output | 
            Output from non query statement. Allows to return data from inserted and deleted rows.
             | 
|  | Source | 
            Query source
             | 
|  | TopN | 
            Top N records
             | 
|  | Total | 
            Total items expression
             | 
|  | Values | 
            List of values for the update / insert query
             | 
|  | Where | 
            Where condition
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | ResolveMacros | 
            Resolves the given macros within a query
             | 
|  | ToString | 
            Gets the string representation of the where condition
            (Overrides ObjectToString.) | 
 See Also
See Also