To connect to a database you should create a connection object and then connect it.
For example, let's connect to SQL Server database Demo as user Guest with a password May and then disconnect from it.
A connection object is represented by SAConnection class.
The line above creates a connection object con.
con.setClient( SA_SQLServer_Client );
After the connection is created we need to connect it using SAConnection::Connect method.
con.Connect( "Demo", "Guest", "May", SA_SQLServer_Client );
con.Connect( "Demo", "Guest", "May" );
You can disconnect your connection object at any time with a call to the SAConnection::Disconnect method:
It is safe to skip calling SAConnection::Disconnect method explicitly. Destructor SAConnection::~SAConnection will correctly close the connection if you didn't call SAConnection::Disconnect method before.
If you haven't found the answer to your questions or have some problems using the Library, please, send an e-mail to email@example.com