The SqlClient driver does NOT support more than 1 open IDataReader with only 1 IDbConnection.

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

Syntax

Visual Basic (Declaration)
Public Overrides ReadOnly Property SupportsMultipleOpenReaders As Boolean
C#
public override bool SupportsMultipleOpenReaders { get; }
Visual C++
public:
virtual property bool SupportsMultipleOpenReaders {
	bool get () override;
}
JavaScript
function get_supportsMultipleOpenReaders();

Field Value

falseFalsefalsefalse (False in Visual Basic) - it is not supported.

Implements

IDriver..::.SupportsMultipleOpenReaders

Remarks

Ms Sql 2000 (and 7) throws an Exception when multiple DataReaders are attempted to be Opened. When Yukon comes out a new Driver will be created for Yukon because it is supposed to support it.

See Also