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

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

Syntax

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

Field Value

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

Implements

IDriver..::..SupportsMultipleOpenReaders

Remarks

MS SQL Server 2000 (and 7) throws an exception when multiple IDataReaders are attempted to be opened. When SQL Server 2005 comes out a new driver will be created for it because SQL Server 2005 is supposed to support it.

See Also