Click or drag to resize
DataQueryBaseTQueryExecuteReader Method
Executes the current query and returns it's results as a data reader

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public DbDataReader ExecuteReader(
	CommandBehavior commandBehavior = CommandBehavior.Default,
	bool newConnection = false
)

Parameters

commandBehavior (Optional)
Type: System.DataCommandBehavior
Command behavior
newConnection (Optional)
Type: SystemBoolean
If true, the reader should be executed using its own dedicated connection

Return Value

Type: DbDataReader

Implements

IDataQueryExecuteReader(CommandBehavior, Boolean)
See Also