Close a IDataReader opened using ExecuteReader(IDbCommand)
Namespace: NHibernate.EngineAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
void CloseReader( IDataReader reader ) |
Visual Basic |
---|
Sub CloseReader ( _ reader As IDataReader _ ) |
Visual C++ |
---|
void CloseReader( IDataReader^ reader ) |
Parameters
- reader
- Type: System.Data..::..IDataReader
The IDataReader to ensure is closed.