Initializes a new instance of the HibernateConfiguration class.
Namespace: NHibernate.Cfg.ConfigurationSchemaAssembly: 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
Exception | Condition |
---|---|
NHibernate.Cfg..::..HibernateConfigException | When nhibernate-configuration.xsd can't be applied. |