Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdoTemplate.QueryWithResultSetExtractor(CommandType, String, IResultSetExtractor) Method

Execute a query given static SQL/Stored Procedure name and process a single result set with an instance of IResultSetExtractor

[Visual Basic]
Public NotOverridable Overloads Sub QueryWithResultSetExtractor( _
   ByVal cmdType As CommandType, _
   ByVal sql As String, _
   ByVal rse As IResultSetExtractor _
) _
    Implements IAdoOperations.QueryWithResultSetExtractor
[C#]
public object QueryWithResultSetExtractor(
   CommandType cmdType,
   string sql,
   IResultSetExtractor rse
);

Parameters

cmdType
The type of command.
sql
The SQL/Stored Procedure to execute
rse
Object that will extract all rows of a result set

Return Value

An arbitrary result object, as returned by the IResultSetExtractor

Implements

IAdoOperations.QueryWithResultSetExtractor

See Also

AdoTemplate Class | Spring.Data.Core Namespace | AdoTemplate.QueryWithResultSetExtractor Overload List