Represents an open connection to a data source, and is implemented by .NET Framework data providers that access relational databases.
See Also: IDbConnection Members
The System.Data.IDbConnection interface enables an inheriting class to implement a Connection class, which represents a unique session with a data source (for example, a network connection to a server). For more information about Connection classes, see [<topic://cpconadonetconnections>].
Classes that inherit System.Data.IDbConnection must implement all inherited members, and typically define additional members to add provider-specific functionality. For example, the System.Data.IDbConnection interface defines the IDbConnection.ConnectionTimeout property. In turn, the System.Data.SqlClient.SqlConnection class inherits this property, and also defines the System.Data.SqlClient.SqlConnection.PacketSize property.