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

SqlMapper.QueryForPaginatedList Method 

NOTE: This method is now obsolete.

This method will be remove in future version.


Executes the SQL and retuns a subset of the results in a dynamic PaginatedList that can be used to automatically scroll through results from a database table.

[Visual Basic]
<Obsolete(Message:="This method will be remove in future version.", IsError:=False, TypeId:=System.ObsoleteAttribute)>
NotOverridable Public Function QueryForPaginatedList( _
   ByVal String As String, _
   ByVal Object As Object, _
   ByVal Int32 As Integer _
) As PaginatedList _
    Implements ISqlMapper.
[C#]
[Obsolete(Message="This method will be remove in future version.", IsError=False, TypeId=System.ObsoleteAttribute)]
public PaginatedList QueryForPaginatedList(
   String statementName,
   Object parameterObject,
   Int32 pageSize
);

Parameters

statementName
The name of the sql statement to execute.
parameterObject
The object used to set the parameters in the SQL
pageSize
The maximum number of objects to store in each page

Return Value

A PaginatedList of beans containing the rows

Implements

ISqlMapper.

See Also

SqlMapper Class | IBatisNet.DataMapper Namespace