Read mappings from a particular XML file.
Namespace:
NHibernate.CfgAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function AddXmlFile ( _ xmlFile As String _ ) As Configuration |
C# |
---|
public Configuration AddXmlFile( string xmlFile ) |
Visual C++ |
---|
public: Configuration^ AddXmlFile( String^ xmlFile ) |
JavaScript |
---|
function addXmlFile(xmlFile); |
Parameters
- xmlFile
- Type: System..::.String
a path to a file