Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdoTemplate.ExecuteNonQuery(CommandType, String, ICommandSetter) Method

Executes a non query with parameters set via the command setter, returning the number of rows affected.

[Visual Basic]
Public NotOverridable Overloads Sub ExecuteNonQuery( _
   ByVal cmdType As CommandType, _
   ByVal cmdText As String, _
   ByVal commandSetter As ICommandSetter _
) _
    Implements ICommonAdoOperations.ExecuteNonQuery
[C#]
public int ExecuteNonQuery(
   CommandType cmdType,
   string cmdText,
   ICommandSetter commandSetter
);

Parameters

cmdType
The command type.
cmdText
The command text to execute.
commandSetter
The command setter.

Return Value

The number of rows affected.

Implements

ICommonAdoOperations.ExecuteNonQuery

See Also

AdoTemplate Class | Spring.Data.Generic Namespace | AdoTemplate.ExecuteNonQuery Overload List