Configures the ConnectionProvider with the Driver and the ConnectionString.
Namespace: NHibernate.ConnectionAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public virtual void Configure( IDictionary<string, string> settings ) |
Visual Basic |
---|
Public Overridable Sub Configure ( _ settings As IDictionary(Of String, String) _ ) |
Visual C++ |
---|
public: virtual void Configure( IDictionary<String^, String^>^ settings ) |
Parameters
- settings
- Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, String>)>)>
An IDictionary that contains the settings for this ConnectionProvider.
Implements
IConnectionProvider..::..Configure(IDictionary<(Of <<'(String, String>)>>))Exceptions
Exception | Condition |
---|---|
NHibernate..::..HibernateException | Thrown when a ConnectionString could not be found in the settings parameter or the Driver Class could not be loaded. |