A strategy for obtaining ADO.NET IDbConnection.

Namespace: NHibernate.Connection
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public interface IConnectionProvider : IDisposable
Visual Basic
Public Interface IConnectionProvider _
	Inherits IDisposable
Visual C++
public interface class IConnectionProvider : IDisposable

Remarks

The IConnectionProvider interface is not intended to be exposed to the application. Instead it is used internally by NHibernate to obtain IDbConnection. Implementors should provide a public default constructor.

See Also