Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdoTemplate.ExecuteNonQuery(CommandType, String, IDbParameters) Method

Executes a non query returning the number of rows affected.

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

Parameters

cmdType
The command type.
cmdText
The command text to execute.
parameters
The parameter collection to map.

Return Value

The number of rows affected.

Implements

ICommonAdoOperations.ExecuteNonQuery

See Also

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