Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdoTemplate.ExecuteNonQuery(IDbCommandCreator) Method

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

[Visual Basic]
Public NotOverridable Overloads Sub ExecuteNonQuery( _
   ByVal commandCreator As IDbCommandCreator _
) _
    Implements ICommonAdoOperations.ExecuteNonQuery
[C#]
public IDictionary ExecuteNonQuery(
   IDbCommandCreator commandCreator
);

Parameters

commandCreator
The callback to create a IDbCommand.

Return Value

The number of rows affected.

Implements

ICommonAdoOperations.ExecuteNonQuery

Remarks

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

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