Read mappings from a Stream.

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

Syntax

Visual Basic (Declaration)
Public Function AddInputStream ( _
	xmlInputStream As Stream _
) As Configuration
C#
public Configuration AddInputStream(
	Stream xmlInputStream
)
Visual C++
public:
Configuration^ AddInputStream(
	Stream^ xmlInputStream
)
JavaScript
function addInputStream(xmlInputStream);

Parameters

xmlInputStream
Type: System.IO..::.Stream
The stream containing XML

Return Value

This Configuration object.

Remarks

The Stream passed in through the parameter xmlInputStream is not guaranteed to be cleaned up by this method. It is the caller's responsiblity to ensure that xmlInputStream is properly handled when this method completes.

See Also