Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ICommonAdoOperations.ExecuteNonQuery(CommandType, String, String, Enum, Int32, Object) Method

Executes a non query returning the number of rows affected.

[Visual Basic]
Public Sub ExecuteNonQuery( _
   ByVal cmdType As CommandType, _
   ByVal cmdText As String, _
   ByVal parameterName As String, _
   ByVal dbType As Enum, _
   ByVal size As Integer, _
   ByVal parameterValue As Object _
)
[C#]
int ExecuteNonQuery(
   CommandType cmdType,
   string cmdText,
   string parameterName,
   Enum dbType,
   int size,
   object parameterValue
);

Parameters

cmdType
The command type.
cmdText
The command text to execute.
parameterName
The name of the parameter to map.
dbType
One of the database parameter type enumerations.
size
The length of the parameter. 0 if not applicable to parameter type.
parameterValue
The parameter value.

Return Value

The number of rows affected.

See Also

ICommonAdoOperations Interface | Spring.Data Namespace | ICommonAdoOperations.ExecuteNonQuery Overload List