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