Click or drag to resize

AdoDataConnectionExecuteReader(CommandBehavior, Int32, String, Object) Method

Executes the SQL statement using Connection, and builds a IDataReader.

Namespace: GSF.Data
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public IDataReader ExecuteReader(
	CommandBehavior behavior,
	int timeout,
	string sqlFormat,
	params Object[] parameters
)
View Source

Parameters

behavior  CommandBehavior
One of the CommandBehavior values.
timeout  Int32
The time in seconds to wait for the SQL statement to execute.
sqlFormat  String
Format string for the SQL statement to be executed.
parameters  Object
The parameter values to be used to fill in IDbDataParameter parameters.

Return Value

IDataReader
A IDataReader object.
See Also