mySobek Home   |   Help
Skip Navigation Links.
MISSING BANNER
Code Details >> EngineAgnosticLayerDbAccess >> EalDbAccess >> ExecuteDataReader Method >> ExecuteDataReader (EalDbTypeEnum, String, CommandType, String, EalDbParameter[])

EalDbAccess.ExecuteDataReader Method (EalDbTypeEnum, String, CommandType, String, EalDbParameter[])



Execute a SQL statement or stored procedure and return a data reader


Namespace: EngineAgnosticLayerDbAccess
Assembly: EngineAgnosticLayerDbAccess (in EngineAgnosticLayerDbAccess.dll) Version: 4.10.0.0 (4.10.0.0)

Syntax

C#
public static EalDbReaderWrapper ExecuteDataReader(
	EalDbTypeEnum DbType,
	string DbConnectionString,
	CommandType DbCommandType,
	string DbCommandText,
	EalDbParameter[] DbParameters
)

Parameters

DbType
Type: EngineAgnosticLayerDbAccess..::..EalDbTypeEnum
Type of database ( i.e., MSSQL, PostgreSQL )
DbConnectionString
Type: System..::..String
Database connection string
DbCommandType
Type: System.Data..::..CommandType
Database command type
DbCommandText
Type: System..::..String
Text of the database command, or name of the stored procedure to run
DbParameters
Type: array<EngineAgnosticLayerDbAccess..::..EalDbParameter>[]()[][]
Parameters for the SQL statement

Return Value

Type: EalDbReaderWrapper

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )