Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RowMapperDelegate(T) Delegate

Callback delegate to process each row of data in a result set to an object.

[Visual Basic]
Public Delegate Function RowMapperDelegate(Of T)( _
   ByVal dataReader As IDataReader, _
   ByVal rowNum As Integer _
)
[C#]
public delegate T RowMapperDelegate<T>(
   IDataReader dataReader,
   int rowNum
);

Parameters

dataReader
The IDataReader to map
rowNum
the number of the current row.

Return Value

An abrirary object, typically derived from data in the result set.

Generic template parameters

T
The type of the object returned from the mapping operation.

Requirements

Namespace: Spring.Data.Generic

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

See Also

Spring.Data.Generic Namespace