IDatabaseOpenDataReader Method (String, IDbConnection, DataFuncOptions, String, String, Int32) |
Opens a recordset using the specified connection.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax IDataReader OpenDataReader(
string source,
IDbConnection activeConnection,
DataFuncOptions options,
string args,
string logSource,
int commandTimeout
)
Function OpenDataReader (
source As String,
activeConnection As IDbConnection,
options As DataFuncOptions,
args As String,
logSource As String,
commandTimeout As Integer
) As IDataReader
Parameters
- source
- Type: SystemString
The SQL statement to execute. - activeConnection
- Type: System.DataIDbConnection
An IDbConnection object. - options
- Type: NetQuarryDataFuncOptions
Command options. - args
- Type: SystemString
Command specific arguments. - logSource
- Type: SystemString
The source of the operation, to be logged to the devlog. - commandTimeout
- Type: SystemInt32
The command timeout to set on the underlying connection.
Return Value
Type:
IDataReaderAn opened
IDataReader object.
See Also