IDBContextExecuteNonQuerySQLStatement Method (String, IEnumerableSqlParameter, Int32)

Relativity API
Executes a Transact-SQL statement against the connection and returns the number of rows affected.

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

int ExecuteNonQuerySQLStatement(
	string sqlStatement,
	IEnumerable<SqlParameter> parameters,
	int timeoutValue
)

Parameters

sqlStatement
Type: SystemString
String containing SQL statement.
parameters
Type: System.Collections.GenericIEnumerableSqlParameter
List of SQL parameters passed in to SQL statement.
timeoutValue
Type: SystemInt32
A timeout value in seconds for the query

Return Value

Type: Int32
Returns the number of rows affected.
See Also

Reference