Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdoTemplate.QueryWithResultSetExtractorDelegate(CommandType, String, ResultSetExtractorDelegate) 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 QueryWithResultSetExtractorDelegate( _
   ByVal cmdType As CommandType, _
   ByVal sql As String, _
   ByVal resultSetExtractorDelegate As ResultSetExtractorDelegate _
) _
    Implements IAdoOperations.QueryWithResultSetExtractorDelegate
[C#]
public object QueryWithResultSetExtractorDelegate(
   CommandType cmdType,
   string sql,
   ResultSetExtractorDelegate resultSetExtractorDelegate
);

Parameters

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

Return Value

An arbitrary result object, as returned by the IResultSetExtractor

Implements

IAdoOperations.QueryWithResultSetExtractorDelegate

See Also

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