DbConnection

E827336

DbConnection is an abstract base class in ADO.NET that represents a connection to a data source, providing a common interface for database-specific connection implementations.

All labels observed (6)

Label Occurrences
SqlConnection 2
DbConnection canonical 1
MySqlConnection 1

How this entity was disambiguated

Statements (51)

Predicate Object
instanceOf ADO.NET class
abstract base class
belongsToFramework .NET (5+) runtime
linked to: .NET (5 and later)

.NET Core
.NET Framework
cannotBeInstantiatedDirectly true
category data access API
definedIn System.Data.Common namespace (for base type)
System.Data.dll
linked to: System.Data
extendedBy MySqlConnection
linked to: DbConnection

NpgsqlConnection
OdbcConnection
OleDbConnection
linked to: DbConnection

OracleConnection
linked to: DbConnection

SqlConnection
hasMethod BeginTransaction()
BeginTransaction(IsolationLevel)
ChangeDatabase(string databaseName)
Close()
CreateCommand()
EnlistTransaction(Transaction)
GetSchema()
GetSchema(string collectionName)
GetSchema(string collectionName, string[] restrictionValues)
Open()
OpenAsync()
hasProperty ConnectionString
ConnectionTimeout
Container
DataSource
Database
ServerVersion
Site
State
implements IAsyncDisposable (in newer .NET versions via derived types)
IDbConnection
IDisposable
inheritsFrom Component
introducedIn .NET Framework 1.0
linked to: .NET Framework
isAbstract true
isSubclassOf MarshalByRefObject
partOf ADO.NET data provider model
linked to: ADO.NET

System.Data namespace
linked to: System.Data
provides common interface for database connections
threadSafety not guaranteed to be thread-safe for instance members
usedFor closing database connections
creating database commands
managing database connection state
opening database connections
participating in database transactions
representing a connection to a data source

How these facts were elicited

Referenced by (7)

Full triples — surface form annotated when it differs from this entity's canonical label.

ADO.NET coreClass DbConnection
SqlTransaction associatedWith SqlConnection
linked to: DbConnection
DbConnection extendedBy OleDbConnection
linked to: DbConnection
DbConnection extendedBy OracleConnection
linked to: DbConnection
DbConnection extendedBy MySqlConnection
linked to: DbConnection
SqlDataAdapter usedWith SqlConnection
linked to: DbConnection
System.Data containsClass System.Data.Common.DbConnection
linked to: DbConnection