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)
net5.0
namespace System.Data.Common
{
public abstract class DbConnection : Component, IDbConnection, IAsyncDisposable, IDisposable
{
[DefaultValue("")]
[RecommendedAsConfigurable(true)]
[RefreshProperties(RefreshProperties.All)]
[SettingsBindable(true)]
public abstract string! ConnectionString { get; set; }
}
}
NetFx Compat Lab | 28.0 % Reference this API 25.0 % Get property 26.8 % Set property |
---|---|
nuget.org | 1.6 % Reference this API 1.1 % Get property 1.3 % Set property |
Upgrade Planner | 1.6 % Reference this API 0.9 % Get property 1.0 % Set property |
.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 net5.0 | |
Assembly | System.Data.Common , Version=5.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | The API is automatically referenced. |
Platform Restrictions | The property getter is supported on all platforms. The property setter is supported on all platforms. |
- Built-in API
- Package-provided API