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

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

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

[Visual Basic]
Overridable Overloads Public Function ExecuteQueryForList( _
   ByVal ISqlMapSession As ISqlMapSession, _
   ByVal Object As Object, _
   ByVal Int32 As Integer, _
   ByVal Int32 As Integer _
) As IList{``0} _
    Implements IMappedStatement.
[C#]
public virtual 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.

Implements

IMappedStatement.

See Also

MappedStatement Class | IBatisNet.DataMapper.MappedStatements Namespace | MappedStatement.ExecuteQueryForList Overload List