IDataConnectionExecuteReader Method |
Executes the query and returns result as a DbDataReader.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax DbDataReader ExecuteReader(
string queryText,
QueryDataParameters queryParams,
QueryTypeEnum queryType,
CommandBehavior commandBehavior
)
Parameters
- queryText
- Type: SystemString
Query or stored procedure to be run. - queryParams
- Type: CMS.DataEngineQueryDataParameters
Query parameters. - queryType
- Type: CMS.DataEngineQueryTypeEnum
Indicates if query is a SQL query or stored procedure. - commandBehavior
- Type: System.DataCommandBehavior
Command behavior.
Return Value
Type:
DbDataReaderSee Also