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.dll)

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
JavaScript
NHibernate.Driver.NDataReader = function();

Type.createClass(
	'NHibernate.Driver.NDataReader',
	null,
	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.

Inheritance Hierarchy

System..::.Object
  NHibernate.Driver..::.NDataReader

See Also