Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IRowMapper(T).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 IRowMapper( _
   ByVal reader As IDataReader, _
   ByVal rowNum As Integer _
)
[C#]
T IRowMapper(
   IDataReader reader,
   int rowNum
);

Parameters

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

Return Value

The specific typed result object for the current row.

See Also

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