Close a IDbCommand opened using PrepareCommand()
Namespace:
NHibernate.EngineAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Sub CloseCommand ( _ cmd As IDbCommand, _ reader As IDataReader _ ) |
C# |
---|
void CloseCommand( IDbCommand cmd, IDataReader reader ) |
Visual C++ |
---|
void CloseCommand( IDbCommand^ cmd, IDataReader^ reader ) |
JavaScript |
---|
function closeCommand(cmd, reader); |
Parameters
- cmd
- Type: System.Data..::.IDbCommand
The IDbCommand to ensure is closed.
- reader
- Type: System.Data..::.IDataReader
The IDataReader to ensure is closed.