Click or drag to resize
DataQueryBaseTQueryGetReaderFromDataSource Method
Executes the current query over data source and returns it's results as an IDataReader. The method is effectively a wrapper around GetDataFromDataSource based on CreateDataReader.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
protected virtual IDataReader GetReaderFromDataSource()

Return Value

Type: IDataReader
Returns the data reader based on GetDataFromDataSource, or null.
Remarks
The method returns null if the underlying call to GetDataFromDataSource returns null or a DataSet with no data tables.
See Also