Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAdoOperations.Execute(T)(IDbCommandCreator, IDbCommandCallback) Method

Executes ADO.NET operations on a command object, created by the provided IDbCommandCreator, using the interface based callback IDbCommandCallback.

[Visual Basic]
Public Sub Execute(Of T)( _
   ByVal commandCreator As IDbCommandCreator, _
   ByVal action As IDbCommandCallback(Of T) _
T Execute<T>(
   IDbCommandCreator commandCreator,
   IDbCommandCallback<T> action


The command creator.
The callback to execute based on IDbCommand

Return Value

A result object returned by the action or null

See Also

IAdoOperations Interface | Spring.Data.Generic Namespace | IAdoOperations.Execute(T) Overload List