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! ApplicationDataObjects.AdoNet.AccessAccessProductDaoSearchProducts(String, Double, Double, String)
Performs a search for products given several criteria.
Declaration Syntax
C# Visual Basic
public IList<Product> SearchProducts(
	string productName,
	double priceFrom,
	double priceThru,
	string sortExpression
)
Public 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 product list.

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