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.Driver
Assembly: NHibernate (in NHibernate)
Version: 1.2.0.4000
Syntax
| Visual Basic (Declaration) |
|---|
Public Class NDataReader _ Implements IDataReader, IDisposable, IDataRecord |
| C# |
|---|
public class NDataReader : 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.