Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdoTemplate.Execute(T)(IDataAdapterCallback) Method

Execute ADO.NET operations on a IDbDataAdapter object using an interface based callback.

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

Parameters

dataAdapterCallback
The data adapter callback.

Return Value

A result object returned by the callback or null

Implements

IAdoOperations.Execute

Remarks

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

See Also

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