Finds all entities of a given type.
Namespace:
Mindscape.LightSpeedAssembly: Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
IList<TEntity> Find<TEntity>() where TEntity : Entity |
Visual Basic (Declaration) |
---|
Function Find(Of TEntity As Entity) As IList(Of TEntity) |
Type Parameters
- TEntity
- The entity type.
Return Value
A collection of entities of a given type.Examples
CopyC#
IList<Customer> allCustomers = unitOfWork.Find<Customer>();