Click or drag to resize
QueryMacros Class
Query expressions
Inheritance Hierarchy
SystemObject
  CMS.DataEngineQueryMacros

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public class QueryMacros

The QueryMacros type exposes the following members.

Constructors
  NameDescription
Public methodQueryMacros
Top
Methods
  NameDescription
Public methodResolveMacros
Resolves the given macros within a query
Public methodToString
Gets the string representation of the where condition
(Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Public fieldStatic memberCOLUMNS
Columns query macro
Public fieldStatic memberDISTINCT
Distinct query macro
Public fieldStatic memberGROUPBY
Group by query macro
Public fieldStatic memberHAVING
Having query macro
Public fieldStatic memberORDERBY
Order by query macro
Public fieldStatic memberSOURCE
Source query macro
Public fieldStatic memberTOPN
Top N query macro
Public fieldStatic memberVALUES
Values query macro
Public fieldStatic memberWHERE
Where query macro
Top
Properties
  NameDescription
Public propertyColumns
List of columns to select
Public propertyDefaultSource
Default query source
Public propertyDistinct
If set to true, returns only distinct (different) values.
Public propertyGroupBy
List of columns to group by
Public propertyHaving
Where condition for the GroupBy clause
Public propertyOrderBy
Order by
Public propertySource
Query source
Public propertyTopN
Top N records
Public propertyValues
List of values for the update / insert query
Public propertyWhere
Where condition
Top
See Also