DbConnection
DbConnection()
CanCreateBatch
ConnectionString
ConnectionTimeout
Database
DataSource
DbProviderFactory
ServerVersion
State
BeginDbTransaction(IsolationLevel)
BeginDbTransactionAsync(IsolationLevel, CancellationToken)
BeginTransaction()
BeginTransaction(IsolationLevel)
BeginTransactionAsync(CancellationToken)
BeginTransactionAsync(IsolationLevel, CancellationToken)
ChangeDatabase(String)
ChangeDatabaseAsync(String, CancellationToken)
Close()
CloseAsync()
CreateBatch()
CreateCommand()
CreateDbBatch()
CreateDbCommand()
Dispose()
Dispose(Boolean)
DisposeAsync()
EnlistTransaction(Transaction)
GetSchema()
GetSchema(String)
GetSchema(String, String[])
GetSchemaAsync(CancellationToken)
GetSchemaAsync(String, CancellationToken)
GetSchemaAsync(String, String[], CancellationToken)
OnStateChange(StateChangeEventArgs)
Open()
OpenAsync()
OpenAsync(CancellationToken)
StateChange
TryOpen(DbConnection)
net6.0-windows
namespace System.Data.Common
{
public abstract class DbConnection : IDbConnection, IDisposable
}
NetFx Compat Lab | 37.9 % Reference this API |
---|---|
nuget.org | 4.9 % Reference this API 0.7 % Derive from this class or interface |
Upgrade Planner | 5.9 % Reference this API |
Design Reviews |
|
.NET | 5.06.07.08.09.010.0 |
.NET Core | 1.01.12.02.12.23.03.1 |
.NET Framework | 2.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 1.21.31.41.51.62.02.1 |
Information specific to net6.0 | |
Assembly | System.Data.Common , Version=4.1.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | Your project needs a package reference to |
Package | System.Data.Common (4.3.0) netstandard1.2 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API