Read all mapping documents from a directory tree. Assume that any
file named *.hbm.xml is a mapping document.
Namespace: NHibernate.CfgAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public Configuration AddDirectory( DirectoryInfo dir ) |
Visual Basic |
---|
Public Function AddDirectory ( _ dir As DirectoryInfo _ ) As Configuration |
Visual C++ |
---|
public: Configuration^ AddDirectory( DirectoryInfo^ dir ) |
Parameters
- dir
- Type: System.IO..::..DirectoryInfo
a directory
Return Value
[Missing <returns> documentation for "M:NHibernate.Cfg.Configuration.AddDirectory(System.IO.DirectoryInfo)"]