Executes the IDbCommand.
Namespace: NHibernate.EngineAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
int ExecuteNonQuery( IDbCommand cmd ) |
Visual Basic |
---|
Function ExecuteNonQuery ( _ cmd As IDbCommand _ ) As Integer |
Visual C++ |
---|
int ExecuteNonQuery( IDbCommand^ 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.