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

DBContext

public class DBContext : IDBContext
public string Database { get; }

public bool IsMasterDatabase { get; }

public string ServerName { get; }

public DBContext(BaseContext context)

public void BeginTransaction()

public void Cancel()

public void CommitTransaction()

public int ExecuteNonQuerySQLStatement(string sqlStatement)

public int ExecuteNonQuerySQLStatement(string sqlStatement, int timeoutValue)

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

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

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

public DbDataReader ExecuteProcedureAsReader(string procedureName, IEnumerable<SqlParameter> parameters)

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

public DataSet ExecuteSqlStatementAsDataSet(string sqlStatement)

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

public DataSet ExecuteSqlStatementAsDataSet(string sqlStatement, int timeoutValue)

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

public DataTable ExecuteSqlStatementAsDataTable(string sqlStatement)

public DataTable ExecuteSqlStatementAsDataTable(string sqlStatement, int timeoutValue)

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

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

public DbDataReader ExecuteSqlStatementAsDbDataReader(string sqlStatement)

public DbDataReader ExecuteSqlStatementAsDbDataReader(string sqlStatement, int timeoutValue)

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

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

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

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

public T ExecuteSqlStatementAsScalar<T>(string sqlStatement)

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

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

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

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

public object ExecuteSqlStatementAsScalar(string sqlStatement, SqlParameter[] parameters)

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

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

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

public SqlConnection GetConnection(bool openConnectionIfClosed)

public void ReleaseConnection()

public void RollbackTransaction()

public void RollbackTransaction(Exception originatingException)