Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ResultSetExtractorDelegate(T) Delegate

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

[Visual Basic]
Public Delegate Function ResultSetExtractorDelegate(Of T)( _
   ByVal reader As IDataReader _
)
[C#]
public delegate T ResultSetExtractorDelegate<T>(
   IDataReader reader
);

Parameters

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.

Generic template parameters

T
The type returned from the result set mapping.

Requirements

Namespace: Spring.Data.Generic

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

See Also

Spring.Data.Generic Namespace