Adds the Mappings in the XmlReader after validating it
against the nhibernate-mapping-2.2 schema.
Namespace: NHibernate.CfgAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public Configuration AddXmlReader( XmlReader hbmReader, string name ) |
Visual Basic |
---|
Public Function AddXmlReader ( _ hbmReader As XmlReader, _ name As String _ ) As Configuration |
Visual C++ |
---|
public: Configuration^ AddXmlReader( XmlReader^ hbmReader, String^ name ) |
Parameters
- hbmReader
- Type: System.Xml..::..XmlReader
The XmlReader 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).