Configures the driver for the ConnectionProvider.
Namespace:
NHibernate.ConnectionAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Protected Overridable Sub ConfigureDriver ( _ settings As IDictionary _ ) |
C# |
---|
protected virtual void ConfigureDriver( IDictionary settings ) |
Visual C++ |
---|
protected: virtual void ConfigureDriver( IDictionary^ settings ) |
JavaScript |
---|
function configureDriver(settings); |
Parameters
- settings
- Type: System.Collections..::.IDictionary
An IDictionary that contains the settings for the Driver.
Exceptions
Exception | Condition |
---|---|
NHibernate..::.HibernateException | Thrown when the ConnectionDriver could not be found in the settings parameter or there is a problem with creating the IDriver. |