protected NHibernate.ICriteria GetSearchCriteria( int productId, BitFieldState approved, string sortExpression, int maximumRows, int startRowIndex )
Parameters
- productId
- The id of the product to filter with.
- approved
- Indicates whether approved, unapproved,or all reviews are desired.
- sortExpression
- The sort expression.
- maximumRows
- The maximum number of rows to return.
- startRowIndex
- The index to start returning rows from.
Return Value
A search criteria for product reviews.