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

Namespace:  NHibernate.Driver
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 NHybridDataReader is being Disposed of or Finalized.

Remarks

If this NHybridDataReader is being Finalized (isDisposing==false) then make sure not to call any methods that could potentially bring this NHybridDataReader back to life.

See Also