Release internal state associated with the given result set.

Namespace: NHibernate.Engine.Loading
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public virtual void Cleanup(
	IDataReader resultSet
)
Visual Basic
Public Overridable Sub Cleanup ( _
	resultSet As IDataReader _
)
Visual C++
public:
virtual void Cleanup(
	IDataReader^ resultSet
)

Parameters

resultSet
Type: System.Data..::..IDataReader
The result set for which it is ok to release associated resources.

Remarks

This should be called when we are done with processing said result set, ideally as the result set is being closed.

See Also