Configure NHibernate using the specified XmlReader.
Namespace: NHibernate.CfgAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
public Configuration Configure( XmlReader textReader ) |
| Visual Basic |
|---|
Public Function Configure ( _ textReader As XmlReader _ ) As Configuration |
| Visual C++ |
|---|
public: Configuration^ Configure( XmlReader^ textReader ) |
Parameters
- textReader
- Type: System.Xml..::..XmlReader
The XmlReader that contains the Xml to configure NHibernate.
Return Value
A Configuration object initialized with the file.
Remarks
Calling Configure(XmlReader) will overwrite the values set in app.config or web.config