Load all entities of the given type EntityType filtered by criteria.
Only single value fields are loaded. Multivalue or temporal fields are not loaded.
For loading of multivalue or temporal fields please refer to LoadEntityFields or LoadEntitiesFields methods.
Namespace:
Aspectize.CoreAssembly: AspectizeDAL (in AspectizeDAL.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
List<EntityType> GetEntities<EntityType>( QueryCriteria criteria ) where EntityType : new(), Entity |
| Visual Basic (Declaration) |
|---|
Function GetEntities(Of EntityType As {New, Entity}) ( _ criteria As QueryCriteria _ ) As List(Of EntityType) |
Parameters
- criteria
- Type: Aspectize.Core..::.QueryCriteria
The critiria to meet.
Type Parameters
- EntityType
- Type of Entity to load