Returns the number of entities based on
the supplied Query.
Namespace:
Mindscape.LightSpeedAssembly: Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
Parameters
- query
- Type: Mindscape.LightSpeed.Querying..::.Query
The Query.
Return Value
The number of entities.
Examples

Query query = new Query(typeof(Product), Entity.Attribute("Price") > 1000000); long expensiveProductCount = unitOfWork.Count(query);