Note: This API is now obsolete.
Interface for DBContext class.
Namespace: Relativity.CustomPages
Assembly: Relativity.CustomPages (in Relativity.CustomPages.dll) Version: 17.0.1.1 588f15fd7550dbf54835f3417a0142d4ea37dbb5
Syntax
The IDBContext type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | Database |
Gets a database name.
|
![]() | ServerName |
Gets a database server name.
|
Methods
Name | Description | |
---|---|---|
![]() | BeginTransaction |
Starts a database transaction.
|
![]() | Cancel |
Tries to cancel a SQL command execution.
|
![]() | CommitTransaction |
Commits a database transaction.
|
![]() | ExecuteNonQuerySQLStatement(String) |
Executes a Transact-SQL statement against the connection and returns the number of rows affected.
|
![]() | ExecuteNonQuerySQLStatement(String, IEnumerableSqlParameter) |
Executes a parameterized Transact-SQL statement against the connection and returns the number of rows affected.
|
![]() | ExecuteProcedureAsReader |
Executes a stored procedure against the connection and builds a DbDataReader.
|
![]() | ExecuteProcedureNonQuery |
Executes a stored procedure against the connection and returns the number of rows affected.
|
![]() | ExecuteSqlStatementAsDataSet(String) |
Executes a Transact-SQL statement against the connection and returns an in-memory cache of data.
|
![]() | ExecuteSqlStatementAsDataSet(String, IEnumerableSqlParameter) |
Executes a parameterized Transact-SQL statement against the connection and returns an in-memory cache of data.
|
![]() | ExecuteSqlStatementAsDataTable(String) |
Executes a Transact-SQL statement agains the connection and returns a table of in-memory data.
|
![]() | ExecuteSqlStatementAsDataTable(String, IEnumerableSqlParameter) |
Executes a parameterized Transact-SQL statement against the connection and returns a table of in-memory data.
|
![]() | ExecuteSqlStatementAsDbDataReader(String) |
Executes a Transact-SQL statement against the connection and builds a DbDataReader.
|
![]() | ExecuteSqlStatementAsDbDataReader(String, IEnumerableDbParameter) |
Executes a Transact-SQL statement against the connection and builds a DbDataReader.
|
![]() | ExecuteSqlStatementAsScalarT(String) |
Executes the query, and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored.
|
![]() | ExecuteSqlStatementAsScalarT(String, IEnumerableSqlParameter) |
Executes the query, and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored.
|
![]() | GetConnection |
Gets a database connection.
|
![]() | GetTransaction |
Gets a database transaction.
|
![]() | ReleaseConnection |
Releases a database connection.
|
![]() | RollbackTransaction |
Rolls back a database transaction.
|
See Also