An implementation of the IConnectionProvider that simply throws an exception when a connection is requested.

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

Syntax

C#
public class UserSuppliedConnectionProvider : ConnectionProvider
Visual Basic
Public Class UserSuppliedConnectionProvider _
	Inherits ConnectionProvider
Visual C++
public ref class UserSuppliedConnectionProvider : public ConnectionProvider

Remarks

This implementation indicates that the user is expected to supply an ADO.NET connection

Inheritance Hierarchy

System..::..Object
  NHibernate.Connection..::..ConnectionProvider
    NHibernate.Connection..::..UserSuppliedConnectionProvider

See Also