Inheritance diagram for OpenSim::Data::SQLite::SQLiteManager:

Public Member Functions | |
| SQLiteManager (string connect) | |
| |
| void | Close () |
| Shuts down the database connection. | |
| IDbCommand | Query (string sql, Dictionary< string, string > parameters) |
| Runs a query with protection against SQL Injection by using parameterised input. | |
| RegionProfileData | getRow (IDataReader reader) |
| Reads a region row from a database reader. | |
| bool | insertRow (RegionProfileData profile) |
| Inserts a new region into the database. | |
| OpenSim::Data::SQLite::SQLiteManager::SQLiteManager | ( | string | connect | ) | [inline] |
| connect | connect string |
| void OpenSim::Data::SQLite::SQLiteManager::Close | ( | ) | [inline] |
Shuts down the database connection.
| IDbCommand OpenSim::Data::SQLite::SQLiteManager::Query | ( | string | sql, | |
| Dictionary< string, string > | parameters | |||
| ) | [inline] |
Runs a query with protection against SQL Injection by using parameterised input.
| sql | The SQL string - replace any variables such as WHERE x = "y" with WHERE x = | |
| parameters | The parameters - index so that is indexed as 'y' |
| RegionProfileData OpenSim::Data::SQLite::SQLiteManager::getRow | ( | IDataReader | reader | ) | [inline] |
Reads a region row from a database reader.
| reader | An active database reader |
| bool OpenSim::Data::SQLite::SQLiteManager::insertRow | ( | RegionProfileData | profile | ) | [inline] |
Inserts a new region into the database.
| profile | The region to insert |
1.5.1