iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

ISqlMapper.QueryWithRowDelegate Method (String, Object, RowDelegate)

Runs a query for list with a custom object that gets a chance to deal with each row as it is processed.

The parameter object is generally used to supply the input data for the WHERE clause parameter(s) of the SELECT statement.
[Visual Basic]
Function QueryWithRowDelegate( _
   ByVal String As String, _
   ByVal Object As Object, _
   ByVal RowDelegate As RowDelegate _
) As IList
[C#]
IList QueryWithRowDelegate(
   String statementName,
   Object parameterObject,
   RowDelegate rowDelegate
);

Parameters

statementName
The name of the sql statement to execute.
parameterObject
The object used to set the parameters in the SQL.
rowDelegate

Return Value

A List of result objects.

See Also

ISqlMapper Interface | IBatisNet.DataMapper Namespace | ISqlMapper.QueryWithRowDelegate Overload List