Click or drag to resize
QueryParameters Class
Query parameters container.
Inheritance Hierarchy
SystemObject
  CMS.DataEngineQueryParameters

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

The QueryParameters type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyConnectionStringName
Connection string name to use
Public propertyExecutionType
Execution type.
Public propertyIsNested
Indicates that this query is nested within another query as its source. This brings certain constraints such as that is cannot use CTE.
Public propertyIsSubQuery
If true, the query is a sub-query used in another query. This brings certain constraints such as that it cannot use order by or CTE.
Public propertyMacros
Query expressions
Public propertyMaxRecords
Maximum number of records to get. If maxRecords is zero or less, all records are returned (no paging is used)
Public propertyName
Query name
Public propertyOffset
Index of first record to get
Public propertyParams
Query parameters.
Public propertyRequiresTransaction
Requires transaction.
Public propertyText
Query text.
Public propertyType
Query type.
Public propertyUseNewConnection
If true, a new connection instance is created for this query execution
Top
Methods
  NameDescription
Public methodResolveMacros
Resolves the query macros in Text property value.
Public methodToString
Returns the string representation of the query parameters
(Overrides ObjectToString.)
Top
See Also