public static NHibernate.ICriteria CreateCriteria<TEntityType>( int maximumRows, int startRowIndex, string sortExpression ) where TEntityType: class
Parameters
- maximumRows
- Maximum number of rows to retrieve.
- startRowIndex
- Starting index from where to start retrieving.
- sortExpression
- The sort expression to use for sorting the loaded objects.
Type Parameters
- TEntityType
- The entity type to create a criteria for
Return Value
An NHibernate criteria object