Read mappings from an XmlDocument.
Namespace: NHibernate.CfgAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
public Configuration AddDocument( XmlDocument doc, string name ) |
| Visual Basic |
|---|
Public Function AddDocument ( _ doc As XmlDocument, _ name As String _ ) As Configuration |
| Visual C++ |
|---|
public: Configuration^ AddDocument( XmlDocument^ doc, String^ name ) |
Parameters
- doc
- Type: System.Xml..::..XmlDocument
A loaded XmlDocument that contains the mappings.
- name
- Type: System..::..String
The name of the document, for error reporting purposes.