Configures the ConnectionProvider with the Driver and the ConnectionString.

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

Syntax

Visual Basic (Declaration)
Public Overridable Sub Configure ( _
	settings As IDictionary _
)
C#
public virtual void Configure(
	IDictionary settings
)
Visual C++
public:
virtual void Configure(
	IDictionary^ settings
)
JavaScript
function configure(settings);

Parameters

settings
Type: System.Collections..::.IDictionary
An IDictionary that contains the settings for this ConnectionProvider.

Implements

IConnectionProvider..::.Configure(IDictionary)

Exceptions

ExceptionCondition
NHibernate..::.HibernateException Thrown when a ConnectionString could not be found in the settings parameter or the Driver Class could not be loaded.

See Also