Click or drag to resize
IDataConnectionExecuteReader Method
Returns result of the query as a Data reader. Keeps the connection open.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
DbDataReader ExecuteReader(
	string queryText,
	QueryDataParameters queryParams,
	QueryTypeEnum queryType,
	CommandBehavior commandBehavior
)

Parameters

queryText
Type: SystemString
Query or stored procedure to be run
queryParams
Type: CMS.DataEngineQueryDataParameters
Array of query parameters
queryType
Type: CMS.DataEngineQueryTypeEnum
Indicates it query is a SQL query or stored procedure
commandBehavior
Type: System.DataCommandBehavior
Command behavior

Return Value

Type: DbDataReader
See Also