Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IRowCallback.ProcessRow Method

Implementations must implement this method to process each row of data in the data reader.

[Visual Basic]
Public Sub ProcessRow( _
   ByVal reader As IDataReader _
void ProcessRow(
   IDataReader reader


An active IDataReader instance

Return Value

The result object


This method should not advance the cursor by calling Read() on IDataReader but only extract the current values. The caller does not need to care about closing the reader, command, connection, or about handling transactions: this will all be handled by Spring's AdoTemplate

See Also

IRowCallback Interface | Spring.Data Namespace