GeneralConnectionExecuteReader Method |
Executes the query and returns result of the query as a DbDataReader.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax public virtual DbDataReader ExecuteReader(
QueryParameters query,
CommandBehavior commandBehavior
)
Parameters
- query
- Type: CMS.DataEngineQueryParameters
Query parameters. - commandBehavior
- Type: System.DataCommandBehavior
Command behavior.
Return Value
Type:
DbDataReaderRemarks
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