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.276-beta+3dd4b43be3e31323696af3ab6b14b705e6420d69
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