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

Namespace: NHibernate.Impl
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

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

Parameters

isDisposing
Type: System..::..Boolean
Indicates if this EnumerableImpl 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