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

CachingStatement.ExecuteQueryForList Method (ISqlMapSession, Object)

Executes the SQL and retuns all rows selected. This is exactly the same as calling ExecuteQueryForList(session, parameterObject, NO_SKIPPED_RESULTS, NO_MAXIMUM_RESULTS).

[Visual Basic]
NotOverridable Overloads Public Function ExecuteQueryForList( _
   ByVal ISqlMapSession As ISqlMapSession, _
   ByVal Object As Object _
) As IList _
    Implements IMappedStatement.
[C#]
public IList ExecuteQueryForList(
   ISqlMapSession session,
   Object parameterObject
);

Parameters

session
The session used to execute the statement.
parameterObject
The object used to set the parameters in the SQL.

Return Value

A List of result objects.

Implements

IMappedStatement.

See Also

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