protected NHibernate.ICriteria GetSearchCriteria( int productId, BitFieldState approved, DateTime dateStart, DateTime dateEnd, string keyword, string email, 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.
- dateStart
- Date Start to filter with.
- dateEnd
- Date End to filter with.
- keyword
- Keyword to filter using the review body.
- Author's email filter.
- 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.