Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdoTemplate.Execute(T)(CommandDelegate) Method

Execute a ADO.NET operation on a command object using a delegate callback.

[Visual Basic]
Public NotOverridable Overloads Sub Execute(Of T)( _
   ByVal del As CommandDelegate(Of T) _
) _
    Implements IAdoOperations.Execute
[C#]
public T Execute<T>(
   CommandDelegate<T> del
);

Parameters

del
The delegate called with a command object.

Return Value

A result object returned by the action or null

Implements

IAdoOperations.Execute

Remarks

This allows for implementing arbitrary data access operations on a single command within Spring's managed ADO.NET environment.

See Also

AdoTemplate Class | Spring.Data.Generic Namespace | AdoTemplate.Execute(T) Overload List