GetProductsByCategory Method (categoryId, sortExpression)

Design Pattern Framework 3.5

Design Pattern Framework 3.5 GetProductsByCategory Method (categoryId, sortExpression)
Patterns-In-Action! ApplicationDataObjects.Linq.LinqImplementationLinqProductDaoGetProductsByCategory(Int32, String)
Gets list of product categories for a given category
Declaration Syntax
C# Visual Basic
public IList<Product> GetProductsByCategory(
	int categoryId,
	string sortExpression
)
Public Function GetProductsByCategory ( _
	categoryId As Integer, _
	sortExpression As String _
) As IList(Of Product)
Parameters
categoryId (Int32)
The category for which products are requested.
sortExpression (String)
Sort order.
Return Value
List of products.

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