Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IResultSetExtractor(T).ExtractData Method

Implementations must implement this method to process all result set and rows in the IDataReader.

[Visual Basic]
Public Sub IResultSetExtractor( _
   ByVal reader As IDataReader _
)
[C#]
T IResultSetExtractor(
   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. The extractor will typically be stateful in the latter case.

See Also

IResultSetExtractor<T> Interface | Spring.Data.Generic Namespace