Read mappings from a String. This method is equivalent to
AddXmlString(String).
Namespace: NHibernate.CfgAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public Configuration AddXml( string xml, string name ) |
Visual Basic |
---|
Public Function AddXml ( _ xml As String, _ name As String _ ) As Configuration |
Visual C++ |
---|
public: Configuration^ AddXml( String^ xml, String^ name ) |
Parameters
- xml
- Type: System..::..String
an XML string
- name
- Type: System..::..String
The name to use in error reporting. May be nullNothingnullptra null reference (Nothing in Visual Basic).