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: 8.2.23
Syntax
C#
public class QueryParameters

The QueryParameters type exposes the following members.

Constructors
Methods
  NameDescription
Public methodResolveMacros
Resolves the query macros.
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 fieldConnectionStringName
Connection string name to use
Public fieldExecutionType
Execution type.
Protected fieldmAllowCache
If true, caching of the query is allowed.
Public fieldMaxRecords
Maximum number of records to get. If maxRecords is zero or less, all records are returned (no paging is used)
Public fieldName
Query name.
Public fieldOffset
Index of first record to get
Public fieldParams
Query parameters.
Public fieldRequiresTransaction
Requires transaction.
Public fieldText
Query text.
Public fieldType
Query type.
Public fieldUseNewConnection
If true, a new connection instance is created for this query execution
Top
Properties
  NameDescription
Public propertyAllowCache
If true, caching of the query is allowed.
Public propertyColumns Obsolete.
Columns to get.
Public propertyMacros
Query expressions
Public propertyOrderBy Obsolete.
Order by.
Public propertyTopN Obsolete.
Top N items.
Public propertyWhere Obsolete.
Where condition.
Top
See Also