KingsportMillSafetyTrainingDbContext..::..GetRoles Method

Gets the roles.

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

Syntax


public IList<Role> GetRoles(
	Func<Role, Object> orderBy,
	Func<Role, bool> where
)
Public Function GetRoles ( _
	orderBy As Func(Of Role, Object), _
	where As Func(Of Role, Boolean) _
) As IList(Of Role)
public:
IList<Role^>^ GetRoles(
	Func<Role^, Object^>^ orderBy, 
	Func<Role^, bool^>^ where
)

Parameters

orderBy
Type: Func<(Of <(<'Role, Object>)>)>
The order by.
where
Type: Func<(Of <(<'Role, Boolean>)>)>
The where.

Return Value

IList<Role>.