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.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax protected virtual IDataReader GetReaderFromDataSource()
Return Value
Type:
IDataReaderReturns 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