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

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public virtual DbDataReader ExecuteReader(
	QueryParameters query,
	CommandBehavior commandBehavior
)

Parameters

query
Type: CMS.DataEngineQueryParameters
Query parameters.
commandBehavior
Type: System.DataCommandBehavior
Command behavior.

Return Value

Type: DbDataReader
Remarks
The method performs a retry of the query execution if an SQL deadlock occurs and the query is not part of a transaction. The retry is performed at most 3 times.
See Also