Get the .NET 2.0 named connection string
Namespace: NHibernate.ConnectionAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
protected virtual string GetNamedConnectionString( IDictionary<string, string> settings ) |
Visual Basic |
---|
Protected Overridable Function GetNamedConnectionString ( _ settings As IDictionary(Of String, String) _ ) As String |
Visual C++ |
---|
protected: virtual String^ GetNamedConnectionString( IDictionary<String^, String^>^ settings ) |
Parameters
- settings
- Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, String>)>)>
[Missing <param name="settings"/> documentation for "M:NHibernate.Connection.ConnectionProvider.GetNamedConnectionString(System.Collections.Generic.IDictionary{System.String,System.String})"]
Return Value
[Missing <returns> documentation for "M:NHibernate.Connection.ConnectionProvider.GetNamedConnectionString(System.Collections.Generic.IDictionary{System.String,System.String})"]
Exceptions
Exception | Condition |
---|---|
NHibernate..::..HibernateException | Thrown when a ConnectionStringName was found in the settings parameter but could not be found in the app.config |