Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ICommonAdoOperations.ExecuteNonQuery(IDbCommandCreator) Method

Executes a non query with a command created via IDbCommandCreator and parameters.

[Visual Basic]
Public Sub ExecuteNonQuery( _
   ByVal commandCreator As IDbCommandCreator _
IDictionary ExecuteNonQuery(
   IDbCommandCreator commandCreator


The callback to create a IDbCommand.

Return Value

The number of rows affected.


Output parameters can be retrieved via the returned dictionary.

More commonly used as a lower level support method within the framework, for example StoredProcedure/AdoScalar.

See Also

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