Read mappings from a particular XML file. This method is equivalent to AddXmlFile(String).

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

Syntax

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

Parameters

xmlFile
Type: System..::..String

[Missing <param name="xmlFile"/> documentation for "M:NHibernate.Cfg.Configuration.AddFile(System.String)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Cfg.Configuration.AddFile(System.String)"]

See Also