Read mappings from a particular XML file.

Namespace: NHibernate.Cfg
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public Configuration AddXmlFile(
	string xmlFile
)
Visual Basic
Public Function AddXmlFile ( _
	xmlFile As String _
) As Configuration
Visual C++
public:
Configuration^ AddXmlFile(
	String^ xmlFile
)

Parameters

xmlFile
Type: System..::..String
a path to a file

Return Value

This configuration object.

See Also