Adds the Mappings in the XmlReader after validating it against the nhibernate-mapping-2.2 schema.

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

Syntax

C#
public Configuration AddXmlReader(
	XmlReader hbmReader
)
Visual Basic
Public Function AddXmlReader ( _
	hbmReader As XmlReader _
) As Configuration
Visual C++
public:
Configuration^ AddXmlReader(
	XmlReader^ hbmReader
)

Parameters

hbmReader
Type: System.Xml..::..XmlReader
The XmlReader that contains the mapping.

Return Value

This Configuration object.

See Also