IDataQuery ExecuteReader Method Kentico 8.1 API Reference
Executes the current query and returns it's results as a data reader

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

commandBehavior (Optional)
Type: OnlineSystem.Data CommandBehavior
Command behavior
newConnection (Optional)
Type: OnlineSystem Boolean
If true, the reader should be executed using its own dedicated connection

Return Value

Type: OnlineDbDataReader
See Also