Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ResultSetExtractorDelegate Delegate

Callback delegate to process all result sets and row in an AdoTemplate query method.

[Visual Basic]
Public Delegate Function ResultSetExtractorDelegate( _
   ByVal reader As IDataReader _
public delegate object ResultSetExtractorDelegate(
   IDataReader reader


The IDataReader to extract data from. Implementations should not close this: it will be closed by the AdoTemplate.

Return Value

An arbitrary result object or null if none.


Implementations of this delegate perform the work of extracting results but don't need worry about managing ADO.NET resources, such as closing the reader, or transaction management.


Namespace: Spring.Data

Assembly: Spring.Data (in Spring.Data.dll)

See Also

Spring.Data Namespace