Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IRowMapper.MapRow Method

Implementations must implement this method to map each row of data in the result set (DataReader). This method should not call Next() on the DataReader; it should only extract the values of the current row.

[Visual Basic]
Public Sub MapRow( _
   ByVal reader As IDataReader, _
   ByVal rowNum As Integer _
)
[C#]
object MapRow(
   IDataReader reader,
   int rowNum
);

Parameters

reader
The IDataReader to map (pre-initialized for the current row)
rowNum
The number of the current row.

Return Value

The result object for the current row.

See Also

IRowMapper Interface | Spring.Data Namespace