Executes the IDbCommand.
Namespace:
NHibernate.EngineAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Function ExecuteNonQuery ( _ cmd As IDbCommand _ ) As Integer |
C# |
---|
int ExecuteNonQuery( IDbCommand cmd ) |
Visual C++ |
---|
int ExecuteNonQuery( IDbCommand^ cmd ) |
JavaScript |
---|
function executeNonQuery(cmd); |
Parameters
- cmd
- Type: System.Data..::.IDbCommand
The IDbCommand to execute.
Return Value
The number of rows affected.
Remarks
The Batcher is responsible for ensuring that all of the Drivers rules for how many open
IDataReaders it can have are followed.