Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ICommonAdoOperations.QueryWithRowCallback(CommandType, String, IRowCallback, ICommandSetter) Method

Execute a query given IDbCommand's type and text by passing the created IDbCommand to a ICommandSetter implementation that knows how to bind values to the IDbCommand, 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 commandSetter As ICommandSetter _
)
[C#]
void QueryWithRowCallback(
   CommandType cmdType,
   string cmdText,
   IRowCallback rowCallback,
   ICommandSetter commandSetter
);

Parameters

cmdType
The type of command
cmdText
The text of the query.
rowCallback
callback that will extract results one row at a time.
commandSetter
The command setter.

See Also

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