QueryParameters Class |
Namespace: CMS.DataEngine
public class QueryParameters
The QueryParameters type exposes the following members.
Name | Description | |
---|---|---|
AllowCache |
If true, caching of the query is allowed.
| |
ConnectionStringName |
Connection string name to use
| |
ExecutionType |
Execution type.
| |
IsNested |
Indicates that this query is nested within another query as its source.
This brings certain constraints such as that is cannot use CTE.
| |
IsSubQuery |
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.
| |
Macros |
Query expressions
| |
MaxRecords |
Maximum number of records to get. If maxRecords is zero or less, all records are returned (no paging is used)
| |
Name |
Query name
| |
Offset |
Index of first record to get
| |
Params |
Query parameters.
| |
RequiresTransaction |
Requires transaction.
| |
Text |
Query text.
| |
Type |
Query type.
| |
UseNewConnection |
If true, a new connection instance is created for this query execution
|
Name | Description | |
---|---|---|
ResolveMacros |
Resolves the query macros in Text property value.
| |
ToString |
Returns the string representation of the query parameters
(Overrides ObjectToString.) |