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
{
public virtual event StateChangeEventHandler StateChange;
}
}
NetFx Compat Lab | 4.8 % Reference this API 4.8 % Subscribe to this event 4.0 % Unsubscribe from this event |
---|---|
nuget.org | 0.3 % Reference this API 0.3 % Subscribe to this event 0.2 % Unsubscribe from this event |
Upgrade Planner | 0.1 % Reference this API 0.1 % Subscribe to this event 0.1 % Unsubscribe from this event |
.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 | The event adder is supported on all platforms. The event remover is supported on all platforms. |
- Built-in API
- Package-provided API