Click or drag to resize
GeneralConnectionExecuteReader Method (QueryInfo, QueryDataParameters, QueryMacros, CommandBehavior)

Note: This API is now obsolete.

Executes query and returns result as a data reader. Keeps the connection open.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("This methods is obsolete, use method ExecuteReader(QueryParameters, CommandBehavior).")]
public virtual DbDataReader ExecuteReader(
	QueryInfo qi,
	QueryDataParameters parameters,
	QueryMacros macros,
	CommandBehavior commandBehavior = CommandBehavior.Default
)

Parameters

qi
Type: CMS.DataEngineQueryInfo
Query info
parameters
Type: CMS.DataEngineQueryDataParameters
Query parameters
macros
Type: CMS.DataEngineQueryMacros
Query expressions
commandBehavior (Optional)
Type: System.DataCommandBehavior
Command behavior

Return Value

Type: DbDataReader
See Also