A strategy for obtaining ADO.NET IDbConnection.
Namespace:
NHibernate.ConnectionAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Interface IConnectionProvider _ Implements IDisposable |
C# |
---|
public interface IConnectionProvider : IDisposable |
Visual C++ |
---|
public interface class IConnectionProvider : IDisposable |
JavaScript |
---|
NHibernate.Connection.IConnectionProvider = function(); NHibernate.Connection.IConnectionProvider.createInterface('NHibernate.Connection.IConnectionProvider'); |
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.