IDBContext Interface

Relativity Custom Pages

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

[ObsoleteAttribute("This interface is no longer supported.")]
public interface IDBContext

The IDBContext type exposes the following members.

Properties

  NameDescription
Public propertyDatabase
Gets a database name.
Public propertyServerName
Gets a database server name.
Top
Methods

  NameDescription
Public methodBeginTransaction
Starts a database transaction.
Public methodCancel
Tries to cancel a SQL command execution.
Public methodCommitTransaction
Commits a database transaction.
Public methodExecuteNonQuerySQLStatement(String)
Executes a Transact-SQL statement against the connection and returns the number of rows affected.
Public methodExecuteNonQuerySQLStatement(String, IEnumerableSqlParameter)
Executes a parameterized Transact-SQL statement against the connection and returns the number of rows affected.
Public methodExecuteProcedureAsReader
Executes a stored procedure against the connection and builds a DbDataReader.
Public methodExecuteProcedureNonQuery
Executes a stored procedure against the connection and returns the number of rows affected.
Public methodExecuteSqlStatementAsDataSet(String)
Executes a Transact-SQL statement against the connection and returns an in-memory cache of data.
Public methodExecuteSqlStatementAsDataSet(String, IEnumerableSqlParameter)
Executes a parameterized Transact-SQL statement against the connection and returns an in-memory cache of data.
Public methodExecuteSqlStatementAsDataTable(String)
Executes a Transact-SQL statement agains the connection and returns a table of in-memory data.
Public methodExecuteSqlStatementAsDataTable(String, IEnumerableSqlParameter)
Executes a parameterized Transact-SQL statement against the connection and returns a table of in-memory data.
Public methodExecuteSqlStatementAsDbDataReader(String)
Executes a Transact-SQL statement against the connection and builds a DbDataReader.
Public methodExecuteSqlStatementAsDbDataReader(String, IEnumerableDbParameter)
Executes a Transact-SQL statement against the connection and builds a DbDataReader.
Public methodExecuteSqlStatementAsScalarT(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.
Public methodExecuteSqlStatementAsScalarT(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.
Public methodGetConnection
Gets a database connection.
Public methodGetTransaction
Gets a database transaction.
Public methodReleaseConnection
Releases a database connection.
Public methodRollbackTransaction
Rolls back a database transaction.
Top
See Also

Reference