<PackageReference Include="Microsoft.Data.SqlClient" Version="7.0.0-preview1.25257.1" />

Microsoft.Data.ProviderBase.DbConnectionInternal

abstract class DbConnectionInternal
protected bool EnlistedTransactionDisposed { get; }

Get boolean value that indicates whether the enlisted transaction has been disposed.

protected virtual bool ReadyToPrepareTransaction { get; }

public abstract string ServerVersion { get; }

public virtual string ServerVersionNormalized { get; }

public bool ShouldHidePassword { get; }

public ConnectionState State { get; }

protected virtual bool UnbindOnTransactionCompletion { get; }

Get boolean that specifies whether an enlisted transaction can be unbound from the connection when that transaction completes.

protected abstract void Activate(Transaction transaction)

public virtual void ChangeDatabase(string value)

protected virtual void CleanupTransactionOnCompletion(Transaction transaction)

Cleanup connection's transaction-specific structures (currently used by Delegated transaction). This is a separate method because cleanup can be triggered in multiple ways for a delegated transaction.

protected abstract void Deactivate()

public virtual void Dispose()

public abstract void EnlistTransaction(Transaction transaction)

protected virtual bool ObtainAdditionalLocksForClose()

protected virtual void PrepareForCloseConnection()

protected virtual void ReleaseAdditionalLocksForClose(bool lockToken)

protected bool TryOpenConnectionInternal(DbConnection outerConnection, SqlConnectionFactory connectionFactory, TaskCompletionSource<DbConnectionInternal> retry, DbConnectionOptions userOptions)

protected void UnDoomThisConnection()

Reset connection doomed status so it can be re-connected and pooled.