Initializes a new instance of the HibernateConfiguration class.

Namespace: NHibernate.Cfg.ConfigurationSchema
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public HibernateConfiguration(
	XmlReader hbConfigurationReader
)
Visual Basic
Public Sub New ( _
	hbConfigurationReader As XmlReader _
)
Visual C++
public:
HibernateConfiguration(
	XmlReader^ hbConfigurationReader
)

Parameters

hbConfigurationReader
Type: System.Xml..::..XmlReader
The XML reader to parse.

Remarks

The nhibernate-configuration.xsd is applied to the XML.

Exceptions

ExceptionCondition
NHibernate.Cfg..::..HibernateConfigExceptionWhen nhibernate-configuration.xsd can't be applied.

See Also