C# Class Castle.MonoRail.ActiveRecordSupport.Pagination.ARPaginableSimpleQuery

Performs a simple query and paginate the results.
There's no need to supply a returnType, like in SimpleQuery, as we do not perform the conversion of the query results to an array.
Inheritance: AbstractPaginableQuery
显示文件 Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
ARPaginableSimpleQuery ( Type targetType, String hql ) : System

Protected Methods

Method Description
BuildHQL ( ) : string
SetQueryParameters ( IQuery query ) : void

Method Details

ARPaginableSimpleQuery() public method

public ARPaginableSimpleQuery ( Type targetType, String hql ) : System
targetType System.Type
hql String
return System

BuildHQL() protected method

protected BuildHQL ( ) : string
return string

SetQueryParameters() protected method

protected SetQueryParameters ( IQuery query ) : void
query IQuery
return void