Get de Dialect from a property bag (prop name Dialect)

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

Syntax

C#
public static Dialect GetDialect(
	IDictionary<string, string> props
)
Visual Basic
Public Shared Function GetDialect ( _
	props As IDictionary(Of String, String) _
) As Dialect
Visual C++
public:
static Dialect^ GetDialect(
	IDictionary<String^, String^>^ props
)

Parameters

props
Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, String>)>)>
The property bag.

Return Value

An instance of Dialect.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionWhen props is null.
NHibernate..::..HibernateExceptionWhen the property bag don't contains de property Dialect.

See Also