Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ICommonAdoOperations.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 Sub QueryWithRowCallback( _
   ByVal cmdType As CommandType, _
   ByVal cmdText As String, _
   ByVal rowCallback As IRowCallback, _
   ByVal parameters As IDbParameters _
)
[C#]
void QueryWithRowCallback(
   CommandType cmdType,
   string cmdText,
   IRowCallback rowCallback,
   IDbParameters parameters
);

Parameters

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

See Also

ICommonAdoOperations Interface | Spring.Data Namespace | ICommonAdoOperations.QueryWithRowCallback Overload List