IDBContextExecuteSqlStatementAsDbDataReader Method (String, IEnumerableDbParameter)

Relativity API
Executes a Transact-SQL statement against the connection and builds a DbDataReader.

Namespace:  Relativity.API
Assembly:  Relativity.API (in Relativity.API.dll) Version: 17.0.1.1 588f15fd7550dbf54835f3417a0142d4ea37dbb5
Syntax

DbDataReader ExecuteSqlStatementAsDbDataReader(
	string sqlStatement,
	IEnumerable<DbParameter> parameters
)

Parameters

sqlStatement
Type: SystemString
String containing parameterized SQL statement.
parameters
Type: System.Collections.GenericIEnumerableDbParameter
List of SQL parameters passed in to SQL statement.

Return Value

Type: DbDataReader
Returns a DbDataReader object.
See Also

Reference