IDBContextExecuteProcedureAsReader Method

Relativity API
Executes a stored procedure 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 ExecuteProcedureAsReader(
	string procedureName,
	IEnumerable<SqlParameter> parameters
)

Parameters

procedureName
Type: SystemString
String value indicating a name of stored procedure to be executed.
parameters
Type: System.Collections.GenericIEnumerableSqlParameter
List of SQL parameters passed in to the stored procedure.

Return Value

Type: DbDataReader
Returns a DbDataReader object.
See Also

Reference