Read mappings from a Stream.

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

Syntax

C#
public Configuration AddInputStream(
	Stream xmlInputStream
)
Visual Basic
Public Function AddInputStream ( _
	xmlInputStream As Stream _
) As Configuration
Visual C++
public:
Configuration^ AddInputStream(
	Stream^ 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