Some Data Providers (ie - SqlClient) do not support Multiple Active Result Sets (MARS).
NHibernate relies on being able to create MARS to read Components and entities inside
of Collections.
Namespace: NHibernate.DriverAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
public class NDataReader : IDataReader, IDisposable, IDataRecord |
| Visual Basic |
|---|
Public Class NDataReader _ Implements IDataReader, IDisposable, IDataRecord |
| Visual C++ |
|---|
public ref class NDataReader : IDataReader, IDisposable, IDataRecord |
Remarks
This is a completely off-line DataReader - the underlying IDataReader that was used to create
this has been closed and no connections to the Db exists.