DatabaseConnectionWrapper Class

This is a small helper class used to manage closing a connection in the presence of transaction pooling. We can't actually close the connection until everyone using it is done, thus, we need reference counting.

Namespace: Microsoft.Practices.EnterpriseLibrary.Data
Assembly: Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll) Version: (6.0.1304.0)

public class DatabaseConnectionWrapper : IDisposable

User code should not use this class directly - it's used internally by the authors of DAAB providers to manage connections when using the DAAB methods.