Adds the Mappings in the XmlTextReader after validating it
against the nhibernate-mapping-2.2 schema.
Namespace:
NHibernate.CfgAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function AddXmlReader ( _ hbmReader As XmlTextReader _ ) As Configuration |
C# |
---|
public Configuration AddXmlReader( XmlTextReader hbmReader ) |
Visual C++ |
---|
public: Configuration^ AddXmlReader( XmlTextReader^ hbmReader ) |
JavaScript |
---|
function addXmlReader(hbmReader); |
Parameters
- hbmReader
- Type: System.Xml..::.XmlTextReader
The XmlTextReader that contains the mapping.