Execute an IDbCommand (that returns no resultset) against the database
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public virtual int ExecuteNonQuery( IDbCommand command ) |
Visual Basic |
---|
Public Overridable Function ExecuteNonQuery ( command As IDbCommand ) As Integer |
Parameters
- command
- Type: System.Data..::..IDbCommand
The IDbCommand to execute
Return Value
Type: Int32An int representing the number of rows affected by the command
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | Thrown if command is null. |