Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAdoOperations.QueryWithResultSetExtractorDelegate(CommandType, String, ResultSetExtractorDelegate) Method

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

[Visual Basic]
Public Sub QueryWithResultSetExtractorDelegate( _
   ByVal cmdType As CommandType, _
   ByVal cmdText As String, _
   ByVal resultSetExtractorDelegate As ResultSetExtractorDelegate _
)
[C#]
object QueryWithResultSetExtractorDelegate(
   CommandType cmdType,
   string cmdText,
   ResultSetExtractorDelegate resultSetExtractorDelegate
);

Parameters

cmdType
The type of command.
cmdText
The command text.
resultSetExtractorDelegate
Delegate that will extract all rows of a result set

Return Value

An arbitrary result object, as returned by the IResultSetExtractor

Exceptions

Exception Type Condition
DataAccessException If there is any problem executing the query.

See Also

IAdoOperations Interface | Spring.Data Namespace | IAdoOperations.QueryWithResultSetExtractorDelegate Overload List