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.

Namespace: DatabaseObjects
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Syntax

C#
public Database(
	IDbConnection objDatabaseConnection,
	Database..::..ConnectionType eConnectionType
)
Visual Basic
Public Sub New ( _
	objDatabaseConnection As IDbConnection, _
	eConnectionType As Database..::..ConnectionType _
)
Visual C++
public:
Database(
	IDbConnection^ objDatabaseConnection, 
	Database..::..ConnectionType eConnectionType
)

Parameters

objDatabaseConnection
Type: System.Data..::..IDbConnection
An unopened connection to the database.
eConnectionType
Type: DatabaseObjects..::..Database..::..ConnectionType

[Missing <param name="eConnectionType"/> documentation for "M:DatabaseObjects.Database.#ctor(System.Data.IDbConnection,DatabaseObjects.Database.ConnectionType)"]

Remarks