DbConnection class represents a connection to the database.
Establishes a connection to the database.