Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAdoOperations.Execute(T)(ICommandCallback) Method

Execute a ADO.NET operation on a command object using a generic interface based callback.

[Visual Basic]
Public Sub Execute(Of T)( _
   ByVal action As ICommandCallback(Of T) _
)
[C#]
T Execute<T>(
   ICommandCallback<T> action
);

Parameters

action
the callback to execute based on DbCommand

Return Value

An object returned from callback

See Also

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