The SqlClient driver does NOT support more than 1 open IDataReader
with only 1 IDbConnection.
Namespace: NHibernate.DriverAssembly: 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..::..SupportsMultipleOpenReadersRemarks
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.