Click or drag to resize
ConnectionHelperExecuteReader Method
Executes the query and returns result of the query as a DbDataReader.

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

Parameters

queryText
Type: SystemString
Query text.
parameters
Type: CMS.DataEngineQueryDataParameters
Query parameters.
queryType
Type: CMS.DataEngineQueryTypeEnum
Query type.
commandBehavior
Type: System.DataCommandBehavior
Command behavior.

Return Value

Type: DbDataReader
See Also