Overload List

  Name Description
Public method Database(IDbConnection, Database..::..ConnectionType)
Initializes the Database instance with the database connection to utilise. The connection is not opened until it is required. The supplied connection should not be opened.
Public method Database(String, Database..::..ConnectionType)
Creates a new Database instance specifying the database to connect to and SQL syntax to use with the database. Each function call of the Database class opens and closes a connection. Therefore, connection pooling should be enabled for optimal performance.

See Also