Extensions..::..GetTrainingResults Method (User, Func<(Of <(<'TrainingResult, Object>)>)>, Func<(Of <(<'TrainingResult, Boolean>)>)>)

Gets the training results.

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

Syntax


public static IList<TrainingResult> GetTrainingResults(
	User user,
	Func<TrainingResult, Object> orderByPredicate,
	Func<TrainingResult, bool> wherePredicate
)
Public Shared Function GetTrainingResults ( _
	user As User, _
	orderByPredicate As Func(Of TrainingResult, Object), _
	wherePredicate As Func(Of TrainingResult, Boolean) _
) As IList(Of TrainingResult)
public:
static IList<TrainingResult^>^ GetTrainingResults(
	User^ user, 
	Func<TrainingResult^, Object^>^ orderByPredicate, 
	Func<TrainingResult^, bool^>^ wherePredicate
)

Parameters

user
Type: MichaelBrandonMorris.KingsportMillSafetyTraining.Db.Models..::..User
The user.
orderByPredicate
Type: Func<(Of <(<'TrainingResult, Object>)>)>
The order by predicate.
wherePredicate
Type: Func<(Of <(<'TrainingResult, Boolean>)>)>
The where predicate.

Return Value

IList<TrainingResult>.