Configures the driver for the ConnectionProvider.

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

Syntax

C#
protected virtual void ConfigureDriver(
	IDictionary<string, string> settings
)
Visual Basic
Protected Overridable Sub ConfigureDriver ( _
	settings As IDictionary(Of String, String) _
)
Visual C++
protected:
virtual void ConfigureDriver(
	IDictionary<String^, String^>^ settings
)

Parameters

settings
Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, String>)>)>
An IDictionary that contains the settings for the Driver.

Exceptions

ExceptionCondition
NHibernate..::..HibernateException Thrown when the ConnectionDriver could not be found in the settings parameter or there is a problem with creating the IDriver.

See Also