KingsportMillSafetyTrainingDbContext..::..GetCategories Method

Gets the categories.

Namespace:  MichaelBrandonMorris.KingsportMillSafetyTraining.Db
Assembly:  MichaelBrandonMorris.KingsportMillSafetyTraining.Db (in MichaelBrandonMorris.KingsportMillSafetyTraining.Db.dll)

Syntax


public IList<Category> GetCategories(
	Func<Category, Object> orderByPredicate,
	Func<Category, bool> wherePredicate
)
Public Function GetCategories ( _
	orderByPredicate As Func(Of Category, Object), _
	wherePredicate As Func(Of Category, Boolean) _
) As IList(Of Category)
public:
IList<Category^>^ GetCategories(
	Func<Category^, Object^>^ orderByPredicate, 
	Func<Category^, bool^>^ wherePredicate
)

Parameters

orderByPredicate
Type: Func<(Of <(<'Category, Object>)>)>
The order by predicate.
wherePredicate
Type: Func<(Of <(<'Category, Boolean>)>)>
The where predicate.

Return Value

IList<Category>.