OpenSim::Data::MSSQL::MSSQLManager Class Reference

A management class for the MS SQL Storage Engine. More...

List of all members.

Public Member Functions

 MSSQLManager (string dataSource, string initialCatalog, string persistSecurityInfo, string userId, string password)
 MSSQLManager (string connection)
 Initialize the manager and set the connectionstring.
SqlConnection DatabaseConnection ()
void CheckMigration (string migrationStore)
 Checks if we need to do some migrations to the database.
void ExecuteResourceSql (string name)
 Execute a SQL statement stored in a resource, as a string.
void GetTableVersion (Dictionary< string, string > tableList)
 Given a list of tables, return the version of the tables, as seen in the database.
string getVersion ()
 Returns the version of this DB provider.


Detailed Description

A management class for the MS SQL Storage Engine.


Constructor & Destructor Documentation

OpenSim::Data::MSSQL::MSSQLManager::MSSQLManager ( string  dataSource,
string  initialCatalog,
string  persistSecurityInfo,
string  userId,
string  password 
) [inline]

OpenSim::Data::MSSQL::MSSQLManager::MSSQLManager ( string  connection  )  [inline]

Initialize the manager and set the connectionstring.

Parameters:
connection 


Member Function Documentation

SqlConnection OpenSim::Data::MSSQL::MSSQLManager::DatabaseConnection (  )  [inline]

void OpenSim::Data::MSSQL::MSSQLManager::CheckMigration ( string  migrationStore  )  [inline]

Checks if we need to do some migrations to the database.

Parameters:
migrationStore migrationStore.

void OpenSim::Data::MSSQL::MSSQLManager::ExecuteResourceSql ( string  name  )  [inline]

Execute a SQL statement stored in a resource, as a string.

Parameters:
name the ressource string

void OpenSim::Data::MSSQL::MSSQLManager::GetTableVersion ( Dictionary< string, string >  tableList  )  [inline]

Given a list of tables, return the version of the tables, as seen in the database.

Parameters:
tableList 

string OpenSim::Data::MSSQL::MSSQLManager::getVersion (  )  [inline]

Returns the version of this DB provider.

Returns:
A string containing the DB provider


The documentation for this class was generated from the following file:
Generated on Mon Jan 5 01:00:38 2009 for OpenSim by  doxygen 1.5.1