SearchProducts Method (productName, priceFrom, priceThru, sortExpression)

Design Pattern Framework 3.5

Design Pattern Framework 3.5 SearchProducts Method (productName, priceFrom, priceThru, sortExpression)
Patterns-In-Action! ApplicationDataObjectsIProductDaoSearchProducts(String, Double, Double, String)
Performs a search for products given several criteria.
Declaration Syntax
C# Visual Basic
IList<Product> SearchProducts(
	string productName,
	double priceFrom,
	double priceThru,
	string sortExpression
)
Function SearchProducts ( _
	productName As String, _
	priceFrom As Double, _
	priceThru As Double, _
	sortExpression As String _
) As IList(Of Product)
Parameters
productName (String)
Product name criterium.
priceFrom (Double)
Low end of price range.
priceThru (Double)
High end of price range.
sortExpression (String)
Sort order.
Return Value
Sorted list of products.

Assembly: DataObjects (Module: DataObjects) Version: 1.0.0.0 (1.0.0.0)