Takes care of freeing the managed and unmanaged resources that this class is responsible for.

Namespace:  NHibernate.Util
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Protected Overridable Sub Dispose ( _
	isDisposing As Boolean _
)
C#
protected virtual void Dispose(
	bool isDisposing
)
Visual C++
protected:
virtual void Dispose(
	bool isDisposing
)
JavaScript
function dispose(isDisposing);

Parameters

isDisposing
Type: System..::.Boolean
Indicates if this JoinedEnumerable is being Disposed of or Finalized.

Remarks

The command is closed and the reader is disposed. This allows other ADO.NET related actions to occur without needing to move all the way through the EnumerableImpl.

See Also