<PackageReference Include="Relativity.Api" Version="9.6.54.200" />

IDBContext

public interface IDBContext
string Database { get; }

bool IsMasterDatabase { get; }

string ServerName { get; }

void Cancel()

int ExecuteNonQuerySQLStatement(string sqlStatement)

int ExecuteNonQuerySQLStatement(string sqlStatement, int timeoutValue)

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

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

SqlDataReader ExecuteParameterizedSQLStatementAsReader(string sqlStatement, IEnumerable<SqlParameter> parameters, int timeoutValue = -1, bool sequentialAccess = false)

int ExecuteProcedureNonQuery(string procedureName, IEnumerable<SqlParameter> parameters)

DataSet ExecuteSqlStatementAsDataSet(string sqlStatement, int timeoutValue)

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

DataTable ExecuteSqlStatementAsDataTable(string sqlStatement, int timeoutValue)

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

DbDataReader ExecuteSqlStatementAsDbDataReader(string sqlStatement, int timeoutValue)

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

IEnumerable<T> ExecuteSQLStatementAsEnumerable<T>(string sqlStatement, Func<SqlDataReader, T> converter, int timeout = -1)

SqlDataReader ExecuteSQLStatementAsReader(string sqlStatement, int timeout = -1)

T ExecuteSqlStatementAsScalar<T>(string sqlStatement)

T ExecuteSqlStatementAsScalar<T>(string sqlStatement, IEnumerable<SqlParameter> parameters)

T ExecuteSqlStatementAsScalar<T>(string sqlStatement, int timeoutValue)

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

T ExecuteSqlStatementAsScalar<T>(string sqlStatement, SqlParameter[] parameters)

object ExecuteSqlStatementAsScalar(string sqlStatement, SqlParameter[] parameters)

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

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

DataTable ExecuteSQLStatementGetSecondDataTable(string sqlStatement, int timeout = -1)

SqlConnection GetConnection(bool openConnectionIfClosed)

void RollbackTransaction(Exception originatingException)