Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdoTemplate.QueryWithRowCallback(CommandType, String, IRowCallback, IDbParameters) Method

Execute a query given IDbCommand's type and text and provided IDbParameters, reading a single result set on a per-row basis with a IRowCallback.

[Visual Basic]
Public NotOverridable Overloads Sub QueryWithRowCallback( _
   ByVal cmdType As CommandType, _
   ByVal cmdText As String, _
   ByVal rowCallback As IRowCallback, _
   ByVal parameter As IDbParameters _
) _
    Implements ICommonAdoOperations.QueryWithRowCallback
[C#]
public void QueryWithRowCallback(
   CommandType cmdType,
   string cmdText,
   IRowCallback rowCallback,
   IDbParameters parameter
);

Parameters

cmdType
Type of the command.
cmdText
The text of the query.
rowCallback
callback that will extract results one row at a time.
parameter
The parameter collection to map.

Implements

ICommonAdoOperations.QueryWithRowCallback

See Also

AdoTemplate Class | Spring.Data.Generic Namespace | AdoTemplate.QueryWithRowCallback Overload List