Adds the Mappings in the
XmlTextReader after validating it
against the nhibernate-mapping-2.2 schema.
Namespace:
NHibernate.Cfg
Assembly:
NHibernate (in NHibernate.dll)
Syntax
JavaScript |
---|
function addXmlReader(hbmReader, name); |
Parameters
- hbmReader
- Type: System.Xml..::.XmlTextReader
The XmlTextReader that contains the mapping.
- name
- Type: System..::.String
The name of the document to use for error reporting. May be nullNothingnullptra null reference (Nothing in Visual Basic).
Return Value
This Configuration object.
See Also