DataQueryBaseTQueryGetReaderFromDB Method |
Executes the query using DB data reader.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax protected virtual IDataReader GetReaderFromDB(
CommandBehavior commandBehavior,
bool newConnection
)
Parameters
- commandBehavior
- Type: System.DataCommandBehavior
Command behavior for the reader. - newConnection
- Type: SystemBoolean
If true, the reader will be executed using its own dedicated connection.
Return Value
Type:
IDataReaderReturns the data reader resulting from query execution, or null.
See Also