Returns the number of entities of a specified Type.

Namespace:  Mindscape.LightSpeed
Assembly:  Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
public long Count<TEntity>() where TEntity : Entity
Visual Basic (Declaration)
Public Function Count(Of TEntity As Entity) As Long

Type Parameters

TEntity
The entity type.

Return Value

The number of entities.

Implements

IUnitOfWork..::.Count<(Of <(TEntity>)>)()()()

See Also