KingsportMillSafetyTrainingDbContext..::..GetCompanies Method

Gets the companies.

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

Syntax


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

Parameters

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

Return Value

IList<Company>.