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.300-beta+b2186e2cd1f968c931b0e151fdd7c839f3d1e9cf
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