Represents an open connection to a data source, and is implemented by .NET Framework data providers that access relational databases.
The following tables list the members exposed by the IDbConnection type.
|ConnectionString||Gets or sets the string used to open a database.|
|ConnectionTimeout||Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.|
|Database||Gets the name of the current database or the database to be used after a connection is opened.|
|State||Gets the current state of the connection.|
|BeginTransaction||Overloaded. Begins a database transaction.|
|ChangeDatabase||Changes the current database for an open Connection object.|
|Close||Closes the connection to the database.|
|CreateCommand||Creates and returns a Command object associated with the connection.|
|Open||Opens a database connection with the settings specified by the ConnectionString property of the provider-specific Connection object.|