iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

IMappedStatement.ExecuteQueryForList Method (ISqlMapSession, Object, Int32, Int32)

Executes the SQL and retuns a subset of the rows selected.

[Visual Basic]
Function ExecuteQueryForList( _
   ByVal ISqlMapSession As ISqlMapSession, _
   ByVal Object As Object, _
   ByVal Int32 As Integer, _
   ByVal Int32 As Integer _
) As IList{``0}
[C#]
IList<T> <T>ExecuteQueryForList(
   ISqlMapSession session,
   Object parameterObject,
   Int32 skipResults,
   Int32 maxResults
);

Parameters

session
The session used to execute the statement.
parameterObject
The object used to set the parameters in the SQL.
skipResults
The number of rows to skip over.
maxResults
The maximum number of rows to return.

Return Value

A List of result objects.

See Also

IMappedStatement Interface | IBatisNet.DataMapper.MappedStatements Namespace | IMappedStatement.ExecuteQueryForList Overload List